Template:Extra Effect: Difference between revisions
changing the giw prefix to hnaw prefix to match common.js |
hsr extra effect template instead, hopefully this works |
||
| Line 1: | Line 1: | ||
<includeonly | <includeonly><span class="custom-tt-wrapper hnaw-extra-effect-wrapper toggle-tooltip mw-collapsible mw-made-collapsible mw-collapsed hnaw-collapsible"><!-- | ||
--><span class="mw-collapsible-toggle mw-collapsible-toggle-default mw-collapsible-toggle-collapsed hnaw-extra-effect toggle-tooltip">{{{1}}}</span><!-- | --><span class="mw-collapsible-toggle mw-collapsible-toggle-default mw-collapsible-toggle-collapsed hnaw-extra-effect toggle-tooltip">{{{1}}}</span><!-- | ||
--><span class="mw-collapsible-content hnaw-extra-effect" style="display:none"><!-- | --><span class="mw-collapsible-content hnaw-extra-effect" style="display:none"><!-- | ||
--><span class="hnaw-extra-effect-header"> | -->{{#switch:{{#replace:{{#replace:{{lc:{{{2|{{{1}}}}}}}}|"|}}|.|}} | ||
| lingering shade = <!-- | |||
--><span class="hnaw-extra-effect-header">Lingering Shade</span><!-- | |||
--><span class="hnaw-extra-effect-content">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.</span> | |||
|#default = [[Category:Pages Referencing Unknown Extra Effects]]{{tx}} | |||
}}<!-- | |||
--></span><!-- | --></span><!-- | ||
--></span><!-- | --></span><!-- | ||
--></includeonly><noinclude>{{Documentation|type=Design}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Design}}</noinclude> | ||
Revision as of 10:24, 14 July 2026
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template is used to create tooltips similar to those that appear in-game when clicking on underlined text.
Syntax
{{Extra Effect|text|id or text for extra effect, optional if first parameter matches one}}
Example
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%
Physical DMG to opponents along the path, and applying or removing Lingering Shade.
After each time the Active Skill is used, cycle to the next topping in the {{Extra Effect|passive|topping list}} in order.
After each time the Active Skill is used, cycle to the next topping in the passive in order..
Template Data
This template is used to create tooltips similar to those that appear in-game when clicking on underlined text.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The displayed, underlined text. | Line | required |
| Extra Effect | 2 | The case-insensitive name or ID of the Extra Effect to display when the underlined text is clicked. | String | suggested |