Difference between revisions of "Template:Division"
From eRepublik Official Wiki
m (you tried) |
(two versions implemented / resize option temporarily removed) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[[File: | + | <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:''' | ||
− | <nowiki>{{Division|2}}</nowiki> | + | :<nowiki>{{Division|1}}</nowiki> |
+ | :<nowiki>{{Division|2}}</nowiki> | ||
+ | :<nowiki>{{Division|3}}</nowiki> | ||
+ | :<nowiki>{{Division|4}}</nowiki> | ||
+ | :<nowiki>{{Division|Airforce}}</nowiki> | ||
'''Output:''' | '''Output:''' | ||
+ | :{{Division|1}} | ||
+ | :{{Division|2}} | ||
+ | :{{Division|3}} | ||
+ | :{{Division|4}} | ||
+ | :{{Division|Airforce}} | ||
− | {{Division|2}} | + | ==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|G}} | ||
− | [[Category:Graphical Aid Templates| | + | [[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: