Editing Template:Extra Effect/doc
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | {{Documentation/Header}} | ||
{{CSS|Gadget-Tooltip}} | {{CSS|Gadget-Tooltip}} | ||
{{JS| | {{JS|Common}} | ||
This template is used to create tooltips similar to those that appear in-game when clicking on underlined text. | This template is used to create tooltips similar to those that appear in-game when clicking on underlined text. | ||
==Syntax== | ==Syntax== | ||
{{T|Extra Effect|v1= | {{T|Extra Effect|v1=Text|v2=Title|v3=Description}} | ||
== | ==Examples== | ||
{{T|Extra Effect|p1=Click Me|p2=This is a title|p3=This is a description about clicking me.|_Ybr_=1}} | |||
<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.}}.</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> | |||
==Template Data== | ==Template Data== | ||
| Line 27: | Line 19: | ||
"1": { | "1": { | ||
"label": "Text", | "label": "Text", | ||
" | "type": "string", | ||
" | "required": true, | ||
" | "description": "Text to display outside of tooltip." | ||
}, | }, | ||
"2": { | "2": { | ||
"label": " | "label": "Title", | ||
"description": " | "type": "string", | ||
"required": true, | |||
"description": "Text to display as title in tooltip." | |||
}, | |||
"3": { | |||
"label": "Description", | |||
"type": "string", | "type": "string", | ||
" | "required": true, | ||
"description": "Text to display as description in tooltip." | |||
} | } | ||
}, | }, | ||
" | "format": "inline", | ||
" | "description": "Create tooltip for Related Effects in Talents and Constellations." | ||
} | } | ||
</templatedata> | </templatedata> | ||