Template:Extra Effect/doc: Difference between revisions
Created page with "{{Documentation/Header}} {{CSS|Tooltip}} {{JS|Common}} This template is used to create tooltips similar to those that appear in-game when clicking on underlined text. ==Syntax== {{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>Charge to the opponent farthest away, dealing '''200%'''{{Icon|ATK}} Physical DMG to opponents along the path, and applying..." |
No edit summary |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation/Header}} | {{Documentation/Header}} | ||
{{CSS|Tooltip}} | {{CSS|Gadget-Tooltip}} | ||
{{JS| | {{JS|Gadget-Tooltip}} | ||
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=id or text for extra effect, optional if first parameter matches one}} | ||
== | ==Example== | ||
{{ | <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> | ||
After each time the Active Skill is used, cycle to the next topping in the {{Extra Effect|passive|topping list}} in order. | |||
</pre> | |||
After each time the Active Skill is used, cycle to the next topping in the {{Extra Effect|passive|topping list}} in order.. | |||
==Template Data== | ==Template Data== | ||
| Line 19: | Line 24: | ||
"1": { | "1": { | ||
"label": "Text", | "label": "Text", | ||
" | "description": "The displayed, underlined text.", | ||
" | "type": "line", | ||
" | "required": true | ||
}, | }, | ||
"2": { | "2": { | ||
"label": " | "label": "Extra Effect", | ||
"description": "The case-insensitive name or ID of the Extra Effect to display when the underlined text is clicked.", | |||
"description": " | |||
"type": "string", | "type": "string", | ||
" | "suggested": true | ||
} | } | ||
}, | }, | ||
" | "description": "This template is used to create tooltips similar to those that appear in-game when clicking on underlined text.", | ||
" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||