Template:Extra Effect/doc: Difference between revisions
mNo edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
==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> | ||
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", | ||
" | "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> | ||