Editing User:Vergir/test1Give feedback
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: | ||
{{ | <onlyinclude><!-- | ||
{{ | |key= accepts a hero_[name] key or the hero's English name. Resolves to an | ||
empty string when it matches no hero, which hides the block below. | |||
-->{{#vardefine:hero_key|{{#invoke:HeroData|resolve_key|{{{key|}}}}}}}<!-- | |||
Get English string name from current key | |||
-->{{#vardefine:hero_en|{{#invoke:Lang|get_string|{{#var:hero_key}}|lang_code_override=en}}}}<!-- | |||
-->[key=<nowiki>{{{key|}}}</nowiki> resolved_key={{#var:hero_key}} en={{#var:hero_en}}]<!-- | |||
-->{{#ifeq:{{#invoke:HeroData|has_tags|{{#var:hero_en}}}}|true| | |||
<div class{{=}}"infobox-h-herotags {{#var:hero_key}}" style{{=}}"{{#if:{{{size|}}}|--th-heroinfobox-tags-relativeSize: {{{size|1}}};}} {{#if:{{{gap|}}}|--th-heroinfobox-tags-gap: {{{gap|}}};}} {{#if:{{{align|}}}|--th-heroinfobox-tags-align: {{{align|}}};}}"> | |||
<div><div class{{=}}"infobox-h-herotag-back"></div><div class{{=}}"infobox-h-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|1}}</div></div> | |||
<div><div class{{=}}"infobox-h-herotag-back"></div><div class{{=}}"infobox-h-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|2}}</div></div> | |||
<div><div class{{=}}"infobox-h-herotag-back"></div><div class{{=}}"infobox-h-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|3}}</div></div> | |||
</div>|}}<!-- | |||
--></onlyinclude> | |||