Difference between revisions of "Template:Division"

From eRepublik Official Wiki
Jump to: navigation, search
m (you tried)
(two versions implemented / resize option temporarily removed)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[File:Div{{{1|}}}.png]]</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)
  
<noinclude>This is the '''Division template'''. It displays the specified division's icon.
+
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|Level]]</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:

Icon division 1 blue.png
Icon division 2 blue.png
Icon division 3 blue.png
Icon division 4 blue.png
Icon division Airforce blue.png

Version 2 (gold)

Input:

{{Division|1|G}}
{{Division|2|G}}
{{Division|3|G}}
{{Division|4|G}}
{{Division|Airforce|G}}

Output:

Icon division 1.png
Icon division 2.png
Icon division 3.png
Icon division 4.png
Icon division Airforce.png