Template:UnitsNavBoxLang: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 11: Line 11:
{{UnitsNavBoxLang|faction=Neutral|lang=es}}
{{UnitsNavBoxLang|faction=Neutral|lang=es}}
{{UnitsNavBoxLang|lang=zh-hans}}
{{UnitsNavBoxLang|lang=zh-hans}}
 
[[Category:Navbox templates]]
</noinclude>
</noinclude><includeonly>
 
<includeonly>
{{clear}}{{#switch: {{{lang|en}}}
{{clear}}{{#switch: {{{lang|en}}}
   | en = {{NavBoxFractions/en|faction={{{faction|}}}}}
   | en = {{NavBoxFractions/en|faction={{{faction|}}}}}
Line 26: Line 24:
   | #default = {{NavBoxFractions/en|faction={{{faction|}}}}}
   | #default = {{NavBoxFractions/en|faction={{{faction|}}}}}
}}
}}
[[Category:Navbox templates]]
</includeonly>
</includeonly>

Revision as of 10:53, 25 April 2026


Instructions

This template automatically selects the correct language version of the "NavBoxFractions" template. - Provide the `lang` parameter with the language code (e.g., "en", "ru", "de"). - Optionally, provide the `faction` parameter to show only a specific faction.

Example usage:

Template:NavBoxFractions/en


Template:NavBoxFractions/ru


Template:NavBoxFractions/es


Template:NavBoxFractions/zh-hans