Difference between revisions of "Template:Ammo tool"

From Team Fortress Wiki
Jump to: navigation, search
Line 9: Line 9:
 
  | 8 = [[File:Loaded_8.png]]
 
  | 8 = [[File:Loaded_8.png]]
 
  | 9 = [[File:Loaded_9.png]]
 
  | 9 = [[File:Loaded_9.png]]
}}{{#if: {{#expr: (({{{1}}}/100) mod 10)}} > 0
+
}}
| {{#switch: {{#expr: ({{{1}}}/10) mod 10}}
+
{{#switch: {{#expr: ({{{1}}}/10) mod 10}}
 
   | 1 = [[File:Loaded_1.png]]
 
   | 1 = [[File:Loaded_1.png]]
 
   | 2 = [[File:Loaded_2.png]]
 
   | 2 = [[File:Loaded_2.png]]
Line 20: Line 20:
 
   | 8 = [[File:Loaded_8.png]]
 
   | 8 = [[File:Loaded_8.png]]
 
   | 9 = [[File:Loaded_9.png]]
 
   | 9 = [[File:Loaded_9.png]]
   | 0 = [[File:Loaded_0.png]] }}
+
   | 0 = {{#if: {{#expr: ({{{1}}}/100) mod 10}} > 0
| {{#switch: {{#expr: ({{{1}}}/10) mod 10}}
+
| [[File:Loaded_0.png]] }}
  | 1 = [[File:Loaded_1.png]]
+
}}
  | 2 = [[File:Loaded_2.png]]
+
{{#switch: {{#expr: {{{1}}} mod 10}}
  | 3 = [[File:Loaded_3.png]]
 
  | 4 = [[File:Loaded_4.png]]
 
  | 5 = [[File:Loaded_5.png]]
 
  | 6 = [[File:Loaded_6.png]]
 
  | 7 = [[File:Loaded_7.png]]
 
  | 8 = [[File:Loaded_8.png]]
 
  | 9 = [[File:Loaded_9.png]] }}
 
}}{{#switch: {{#expr: {{{1}}} mod 10}}
 
 
  | 1 = [[File:Loaded_1.png]]
 
  | 1 = [[File:Loaded_1.png]]
 
  | 2 = [[File:Loaded_2.png]]
 
  | 2 = [[File:Loaded_2.png]]
Line 42: Line 34:
 
  | 9 = [[File:Loaded_9.png]]
 
  | 9 = [[File:Loaded_9.png]]
 
  | 0 = [[File:Loaded_0.png]]
 
  | 0 = [[File:Loaded_0.png]]
}}{{#switch: {{#expr: ({{{2}}}/100) mod 10}}
+
}}
 +
{{#switch: {{#expr: ({{{2}}}/100) mod 10}}
 
  | 1 = [[File:Carried_1.png]]
 
  | 1 = [[File:Carried_1.png]]
 
  | 2 = [[File:Carried_2.png]]
 
  | 2 = [[File:Carried_2.png]]
Line 53: Line 46:
 
  | 9 = [[File:Carried_9.png]]
 
  | 9 = [[File:Carried_9.png]]
 
  | 0 = [[File:Carried_0.png]]
 
  | 0 = [[File:Carried_0.png]]
}}{{#switch: {{#expr: ({{{2}}}/10) mod 10}}
+
}}
 +
{{#switch: {{#expr: ({{{2}}}/10) mod 10}}
 
  | 1 = [[File:Carried_1.png]]
 
  | 1 = [[File:Carried_1.png]]
 
  | 2 = [[File:Carried_2.png]]
 
  | 2 = [[File:Carried_2.png]]
Line 64: Line 58:
 
  | 9 = [[File:Carried_9.png]]
 
  | 9 = [[File:Carried_9.png]]
 
  | 0 = [[File:Carried_0.png]]
 
  | 0 = [[File:Carried_0.png]]
}}{{#switch: {{#expr: {{{2}}} mod 10}}
+
}}
 +
{{#switch: {{#expr: {{{2}}} mod 10}}
 
  | 1 = [[File:Carried_1.png]]
 
  | 1 = [[File:Carried_1.png]]
 
  | 2 = [[File:Carried_2.png]]
 
  | 2 = [[File:Carried_2.png]]

Revision as of 13:26, 1 August 2011