Difference between revisions of "Template:Division"
From eRepublik Official Wiki
(added optional size parameter) |
(two versions implemented / resize option temporarily removed) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#if: {{{2|}}}|[[File:Icon_division_{{{1|}}}.png]]|[[File:Icon_division_{{{1|}}}_blue.png]]}}</includeonly><noinclude>This is the '''Division template'''. It displays the specified division's icon. There are two versions: |
+ | *Blue (smaller) | ||
+ | *Golden (larger) | ||
+ | To use the blue version, simply input Division and number of the division, while for the golden version add G as the second condition. More information below. | ||
+ | |||
+ | ==Version 1 (blue)== | ||
'''Input:''' | '''Input:''' | ||
Line 8: | Line 13: | ||
:<nowiki>{{Division|4}}</nowiki> | :<nowiki>{{Division|4}}</nowiki> | ||
:<nowiki>{{Division|Airforce}}</nowiki> | :<nowiki>{{Division|Airforce}}</nowiki> | ||
− | |||
'''Output:''' | '''Output:''' | ||
− | |||
:{{Division|1}} | :{{Division|1}} | ||
:{{Division|2}} | :{{Division|2}} | ||
Line 18: | Line 21: | ||
:{{Division|Airforce}} | :{{Division|Airforce}} | ||
+ | ==Version 2 (gold)== | ||
+ | '''Input:''' | ||
+ | :<nowiki>{{Division|1|G}}</nowiki> | ||
+ | :<nowiki>{{Division|2|G}}</nowiki> | ||
+ | :<nowiki>{{Division|3|G}}</nowiki> | ||
+ | :<nowiki>{{Division|4|G}}</nowiki> | ||
+ | :<nowiki>{{Division|Airforce|G}}</nowiki> | ||
− | ''' | + | '''Output:''' |
− | + | :{{Division|1|G}} | |
− | + | :{{Division|2|G}} | |
− | : | + | :{{Division|3|G}} |
− | + | :{{Division|4|G}} | |
− | :{{Division|Airforce| | + | :{{Division|Airforce|G}} |
[[Category:Graphical Aid Templates|Division]]</noinclude> | [[Category:Graphical Aid Templates|Division]]</noinclude> |
Latest revision as of 00:39, 4 May 2019
This is the Division template. It displays the specified division's icon. There are two versions:
- Blue (smaller)
- Golden (larger)
To use the blue version, simply input Division and number of the division, while for the golden version add G as the second condition. More information below.
Version 1 (blue)
Input:
- {{Division|1}}
- {{Division|2}}
- {{Division|3}}
- {{Division|4}}
- {{Division|Airforce}}
Output:
Version 2 (gold)
Input:
- {{Division|1|G}}
- {{Division|2|G}}
- {{Division|3|G}}
- {{Division|4|G}}
- {{Division|Airforce|G}}
Output: