|
|
| (One intermediate revision by the same user not shown) |
| Line 1: |
Line 1: |
| <noinclude>
| | #REDIRECT [[Template:UnitsNavbox]] |
| | |
| == 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:
| |
| {{UnitsNavBoxLang|faction=Hive}}
| |
| {{UnitsNavBoxLang|faction=Temple|lang=ru}}
| |
| {{UnitsNavBoxLang|faction=Neutral|lang=es}}
| |
| {{UnitsNavBoxLang|lang=zh-hans}}
| |
| | |
| </noinclude>
| |
| | |
| <includeonly>
| |
| {{clear}}{{#switch: {{{lang|en}}}
| |
| | en = {{NavBoxFractions/en|faction={{{faction|}}}}}
| |
| | ru = {{NavBoxFractions/ru|faction={{{faction|}}}}}
| |
| | de = {{NavBoxFractions/de|faction={{{faction|}}}}}
| |
| | es = {{NavBoxFractions/es|faction={{{faction|}}}}}
| |
| | ja = {{NavBoxFractions/ja|faction={{{faction|}}}}}
| |
| | pl = {{NavBoxFractions/pl|faction={{{faction|}}}}}
| |
| | zh-hans = {{NavBoxFractions/zh-hans|faction={{{faction|}}}}}
| |
| | zh-hant = {{NavBoxFractions/zh-hant|faction={{{faction|}}}}}
| |
| | #default = {{NavBoxFractions/en|faction={{{faction|}}}}}
| |
| }}
| |
| [[Category:Navbox templates]] | |
| </includeonly>
| |