Difference between revisions of "Template:Division"
From eRepublik Official Wiki
(update) |
(added optional size parameter) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[File:Icon_division_{{{1|}}}.png]]</includeonly><noinclude>This is the '''Division template'''. It displays the specified division's icon. | + | <includeonly>[[File:Icon_division_{{{1|}}}.png| {{#if: {{{size|}}} | {{{size|}}}px }}]]</includeonly><noinclude>This is the '''Division template'''. It displays the specified division's icon. |
'''Input:''' | '''Input:''' | ||
Line 8: | Line 8: | ||
:<nowiki>{{Division|4}}</nowiki> | :<nowiki>{{Division|4}}</nowiki> | ||
:<nowiki>{{Division|Airforce}}</nowiki> | :<nowiki>{{Division|Airforce}}</nowiki> | ||
+ | |||
'''Output:''' | '''Output:''' | ||
Line 16: | Line 17: | ||
:{{Division|4}} | :{{Division|4}} | ||
:{{Division|Airforce}} | :{{Division|Airforce}} | ||
+ | |||
+ | |||
+ | '''Size:''' | ||
+ | |||
+ | You can specify icon size by adding optional size parameter. | ||
+ | :<nowiki>{{Division|Airforce|size=30}}</nowiki> | ||
+ | |||
+ | :{{Division|Airforce|size=30}} | ||
[[Category:Graphical Aid Templates|Division]]</noinclude> | [[Category:Graphical Aid Templates|Division]]</noinclude> |
Revision as of 09:43, 4 February 2019
This is the Division template. It displays the specified division's icon.
Input:
- {{Division|1}}
- {{Division|2}}
- {{Division|3}}
- {{Division|4}}
- {{Division|Airforce}}
Output:
Size:
You can specify icon size by adding optional size parameter.
- {{Division|Airforce|size=30}}