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]]
| 0 = [[File:Loaded_0.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]]
| 3 = [[File:Loaded_3.png]]
+
  | 3 = [[File:Loaded_3.png]]
| 4 = [[File:Loaded_4.png]]
+
  | 4 = [[File:Loaded_4.png]]
| 5 = [[File:Loaded_5.png]]
+
  | 5 = [[File:Loaded_5.png]]
| 6 = [[File:Loaded_6.png]]
+
  | 6 = [[File:Loaded_6.png]]
| 7 = [[File:Loaded_7.png]]
+
  | 7 = [[File:Loaded_7.png]]
| 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 = [[File:Loaded_0.png]] }}
 +
| {{#switch: {{#expr: ({{{1}}}/10) mod 10}}
 +
  | 1 = [[File:Loaded_1.png]]
 +
  | 2 = [[File:Loaded_2.png]]
 +
  | 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}}
 
}}{{#switch: {{#expr: {{{1}}} mod 10}}
 
  | 1 = [[File:Loaded_1.png]]
 
  | 1 = [[File:Loaded_1.png]]

Revision as of 13:20, 1 August 2011

}}