Template:Extra Effect/doc: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:


==Syntax==
==Syntax==
{{T|Extra Effect|v1=Text|v2=Title|v3=Description}}
{{T|Extra Effect|v1=text|v2=id or text for extra effect, optional if first parameter matches one}}


==Examples==
==Example==
{{T|Extra Effect|p1=Click Me|p2=This is a title|p3=This is a description about clicking me.|_Ybr_=1}}
<pre>
 
Charge to the opponent farthest away, dealing '''200%'''{{Icon|ATK}} Physical DMG to opponents along the path, and applying or removing {{Extra Effect|Lingering Shade|Lingering Shade|When the Active Skill hits opponents without Lingering Shade, mark them with Lingering Shade for 6s.<br />When the Active Skill hits opponents with Lingering Shade, deals '''310%'''{{Icon|ATK}} Physical DMG and removes it.}}.
<pre>Charge to the opponent farthest away, dealing '''200%'''{{Icon|ATK}} Physical DMG to opponents along the path, and applying or removing {{Extra Effect|Lingering Shade|Lingering Shade|When the Active Skill hits opponents without Lingering Shade, mark them with Lingering Shade for 6s.<br />When the Active Skill hits opponents with Lingering Shade, deals '''310%'''{{Icon|ATK}} Physical DMG and removes it.}}.</pre>
</pre>
Charge to the opponent farthest away, dealing '''200%'''{{Icon|ATK}} Physical DMG to opponents along the path, and applying or removing {{Extra Effect|Lingering Shade|Lingering Shade|When the Active Skill hits opponents without Lingering Shade, mark them with Lingering Shade for 6s.<br />When the Active Skill hits opponents with Lingering Shade, deals '''310%'''{{Icon|ATK}} Physical DMG and removes it.}}.
Charge to the opponent farthest away, dealing '''200%'''{{Icon|ATK}} Physical DMG to opponents along the path, and applying or removing {{Extra Effect|Lingering Shade|Lingering Shade|When the Active Skill hits opponents without Lingering Shade, mark them with Lingering Shade for 6s.<br />When the Active Skill hits opponents with Lingering Shade, deals '''310%'''{{Icon|ATK}} Physical DMG and removes it.}}.


Line 19: Line 19:
"1": {
"1": {
"label": "Text",
"label": "Text",
"type": "string",
"description": "The displayed, underlined text.",
"required": true,
"type": "line",
"description": "Text to display outside of tooltip."
"required": true
},
},
"2": {
"2": {
"label": "Title",
"label": "Extra Effect",
"type": "string",
"description": "The case-insensitive name or ID of the Extra Effect to display when the underlined text is clicked.",
"required": true,
"description": "Text to display as title in tooltip."
},
"3": {
"label": "Description",
"type": "string",
"type": "string",
"required": true,
"suggested": true
"description": "Text to display as description in tooltip."
}
}
},
},
"format": "inline",
"description": "This template is used to create tooltips similar to those that appear in-game when clicking on underlined text.",
"description": "Create tooltip for Related Effects in Talents and Constellations."
"format": "inline"
}
}
</templatedata>
</templatedata>