Template:Sandbox/Aurelain/HeroesNavbox: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 7: Line 7:
|=<!--
|=<!--
--><div class='faction human'><!--
--><div class='faction human'><!--
     --><div class='header'>{{F|human|{{{lang}}}}}</div><!--
     --><div class='header'>{{LinkIcon|lang={{{lang}}}|filename=human_icon.png|id=wiki_heroes_nav_human}}</div><!--
     --><div class='container'><!--
     --><div class='container'><!--
         --><div class='group'><!--
         --><div class='group'><!--
Line 69: Line 69:
     --><div class='faction-links'><!--
     --><div class='faction-links'><!--
         -->{{#switch: {{{faction|}}}|human|=
         -->{{#switch: {{{faction|}}}|human|=
             |#default={{LinkIcon
             |#default={{LinkIcon|lang={{{lang}}}|filename=human_icon.png|id=wiki_heroes_nav_human}}
                | lang = {{{lang}}}
                | id = wiki_units_nav_human
                | filename = {{{faction}}}_icon.png
            }}
         }}<!--
         }}<!--
         -->{{#switch: {{{faction|}}}|undead|=
         -->{{#switch: {{{faction|}}}|undead|=
Line 82: Line 78:
         }}<!--
         }}<!--
         -->{{#switch: {{{faction|}}}|demon|=
         -->{{#switch: {{{faction|}}}|demon|=
             |#default={{LinkIcon
             |#default={{LinkIcon|lang={{{lang}}}|filename=demon_icon.png|id=wiki_heroes_nav_demon}}
                | lang = {{{lang}}}
                | id = demon
                | type = faction
                | suffix = _icon.png
                | link = Hive_Heroes
            }}
         }}<!--
         }}<!--
         -->{{#switch: {{{faction|}}}|unfrozen|=
         -->{{#switch: {{{faction|}}}|unfrozen|=
             |#default={{LinkIcon
             |#default={{LinkIcon|lang={{{lang}}}|filename=unfrozen_icon.png|id=wiki_heroes_nav_unfrozen}}
                | lang = {{{lang}}}
                | id = unfrozen
                | type = faction
                | suffix = _icon.png
                | link = Schism_Heroes
            }}
         }}<!--
         }}<!--
         -->{{#switch: {{{faction|}}}|dungeon|=
         -->{{#switch: {{{faction|}}}|dungeon|=
             |#default={{LinkIcon
             |#default={{LinkIcon|lang={{{lang}}}|filename=dungeon_icon.png|id=wiki_heroes_nav_dungeon}}
                | lang = {{{lang}}}
                | id = dungeon
                | type = faction
                | suffix = _icon.png
                | link = Dungeon_Heroes
            }}
         }}<!--
         }}<!--
     --></div><!--
     --></div><!--

Revision as of 08:48, 2 September 2026

1. English:

Input: {{Sandbox/Aurelain/HeroesNavbox|lang=en|faction=human}}

Output:

2. Japanese:

Input: {{Sandbox/Aurelain/HeroesNavbox|lang=ja|faction=human}}

Output:

3. All factions: