Difference between revisions of "Template:Ammo tool"

From Team Fortress Wiki
Jump to: navigation, search
(fix)
Line 1: Line 1:
 
{{#switch: {{#expr: ({{{1}}}/100) mod 10}}
 
{{#switch: {{#expr: ({{{1}}}/100) mod 10}}
  | 1 = [[File:Loaded_1.png]]
+
  | 1 = [[File:Loaded_1.png|link=]]
  | 2 = [[File:Loaded_2.png]]
+
  | 2 = [[File:Loaded_2.png|link=]]
  | 3 = [[File:Loaded_3.png]]
+
  | 3 = [[File:Loaded_3.png|link=]]
  | 4 = [[File:Loaded_4.png]]
+
  | 4 = [[File:Loaded_4.png|link=]]
  | 5 = [[File:Loaded_5.png]]
+
  | 5 = [[File:Loaded_5.png|link=]]
  | 6 = [[File:Loaded_6.png]]
+
  | 6 = [[File:Loaded_6.png|link=]]
  | 7 = [[File:Loaded_7.png]]
+
  | 7 = [[File:Loaded_7.png|link=]]
  | 8 = [[File:Loaded_8.png]]
+
  | 8 = [[File:Loaded_8.png|link=]]
  | 9 = [[File:Loaded_9.png]]
+
  | 9 = [[File:Loaded_9.png|link=]]
 
}}{{#switch: {{#expr: ({{{1}}}/10) mod 10}}
 
}}{{#switch: {{#expr: ({{{1}}}/10) mod 10}}
   | 1 = [[File:Loaded_1.png]]
+
   | 1 = [[File:Loaded_1.png|link=]]
   | 2 = [[File:Loaded_2.png]]
+
   | 2 = [[File:Loaded_2.png|link=]]
   | 3 = [[File:Loaded_3.png]]
+
   | 3 = [[File:Loaded_3.png|link=]]
   | 4 = [[File:Loaded_4.png]]
+
   | 4 = [[File:Loaded_4.png|link=]]
   | 5 = [[File:Loaded_5.png]]
+
   | 5 = [[File:Loaded_5.png|link=]]
   | 6 = [[File:Loaded_6.png]]
+
   | 6 = [[File:Loaded_6.png|link=]]
   | 7 = [[File:Loaded_7.png]]
+
   | 7 = [[File:Loaded_7.png|link=]]
   | 8 = [[File:Loaded_8.png]]
+
   | 8 = [[File:Loaded_8.png|link=]]
   | 9 = [[File:Loaded_9.png]]
+
   | 9 = [[File:Loaded_9.png|link=]]
   | 0 = {{#ifexpr: ({{{1}}}/100) mod 10 > 0 | [[File:Loaded_0.png]] }}
+
   | 0 = {{#ifexpr: ({{{1}}}/100) mod 10 > 0 | [[File:Loaded_0.png|link=]] }}
 
}}{{#switch: {{#expr: {{{1}}} mod 10}}
 
}}{{#switch: {{#expr: {{{1}}} mod 10}}
  | 1 = [[File:Loaded_1.png]]
+
  | 1 = [[File:Loaded_1.png|link=]]
  | 2 = [[File:Loaded_2.png]]
+
  | 2 = [[File:Loaded_2.png|link=]]
  | 3 = [[File:Loaded_3.png]]
+
  | 3 = [[File:Loaded_3.png|link=]]
  | 4 = [[File:Loaded_4.png]]
+
  | 4 = [[File:Loaded_4.png|link=]]
  | 5 = [[File:Loaded_5.png]]
+
  | 5 = [[File:Loaded_5.png|link=]]
  | 6 = [[File:Loaded_6.png]]
+
  | 6 = [[File:Loaded_6.png|link=]]
  | 7 = [[File:Loaded_7.png]]
+
  | 7 = [[File:Loaded_7.png|link=]]
  | 8 = [[File:Loaded_8.png]]
+
  | 8 = [[File:Loaded_8.png|link=]]
  | 9 = [[File:Loaded_9.png]]
+
  | 9 = [[File:Loaded_9.png|link=]]
  | 0 = [[File:Loaded_0.png]]
+
  | 0 = [[File:Loaded_0.png|link=]]
 
}}{{#ifeq: {{{2}}} | 0 | {{ns:}}
 
}}{{#ifeq: {{{2}}} | 0 | {{ns:}}
  | {{#ifeq: {{{2}}} | inf | [[File:Carried_inf.png]]
+
  | {{#ifeq: {{{2}}} | inf | [[File:Carried_inf.png|link=]]
 
  | {{#switch: {{#expr: ({{{2}}}/100) mod 10}}
 
  | {{#switch: {{#expr: ({{{2}}}/100) mod 10}}
| 1 = [[File:Carried_1.png]]
+
| 1 = [[File:Carried_1.png|link=]]
| 2 = [[File:Carried_2.png]]
+
| 2 = [[File:Carried_2.png|link=]]
| 3 = [[File:Carried_3.png]]
+
| 3 = [[File:Carried_3.png|link=]]
| 4 = [[File:Carried_4.png]]
+
| 4 = [[File:Carried_4.png|link=]]
| 5 = [[File:Carried_5.png]]
+
| 5 = [[File:Carried_5.png|link=]]
| 6 = [[File:Carried_6.png]]
+
| 6 = [[File:Carried_6.png|link=]]
| 7 = [[File:Carried_7.png]]
+
| 7 = [[File:Carried_7.png|link=]]
| 8 = [[File:Carried_8.png]]
+
| 8 = [[File:Carried_8.png|link=]]
| 9 = [[File:Carried_9.png]]
+
| 9 = [[File:Carried_9.png|link=]]
 
}}{{#switch: {{#expr: ({{{2}}}/10) mod 10}}
 
}}{{#switch: {{#expr: ({{{2}}}/10) mod 10}}
| 1 = [[File:Carried_1.png]]
+
| 1 = [[File:Carried_1.png|link=]]
| 2 = [[File:Carried_2.png]]
+
| 2 = [[File:Carried_2.png|link=]]
| 3 = [[File:Carried_3.png]]
+
| 3 = [[File:Carried_3.png|link=]]
| 4 = [[File:Carried_4.png]]
+
| 4 = [[File:Carried_4.png|link=]]
| 5 = [[File:Carried_5.png]]
+
| 5 = [[File:Carried_5.png|link=]]
| 6 = [[File:Carried_6.png]]
+
| 6 = [[File:Carried_6.png|link=]]
| 7 = [[File:Carried_7.png]]
+
| 7 = [[File:Carried_7.png|link=]]
| 8 = [[File:Carried_8.png]]
+
| 8 = [[File:Carried_8.png|link=]]
| 9 = [[File:Carried_9.png]]
+
| 9 = [[File:Carried_9.png|link=]]
 
| 0 = {{#ifexpr: ({{{2}}}/100) mod 10 > 0
 
| 0 = {{#ifexpr: ({{{2}}}/100) mod 10 > 0
| [[File:Carried_0.png]] }}
+
| [[File:Carried_0.png|link=]] }}
 
}}{{#switch: {{#expr: {{{2}}} mod 10}}
 
}}{{#switch: {{#expr: {{{2}}} mod 10}}
| 1 = [[File:Carried_1.png]]
+
| 1 = [[File:Carried_1.png|link=]]
| 2 = [[File:Carried_2.png]]
+
| 2 = [[File:Carried_2.png|link=]]
| 3 = [[File:Carried_3.png]]
+
| 3 = [[File:Carried_3.png|link=]]
| 4 = [[File:Carried_4.png]]
+
| 4 = [[File:Carried_4.png|link=]]
| 5 = [[File:Carried_5.png]]
+
| 5 = [[File:Carried_5.png|link=]]
| 6 = [[File:Carried_6.png]]
+
| 6 = [[File:Carried_6.png|link=]]
| 7 = [[File:Carried_7.png]]
+
| 7 = [[File:Carried_7.png|link=]]
| 8 = [[File:Carried_8.png]]
+
| 8 = [[File:Carried_8.png|link=]]
| 9 = [[File:Carried_9.png]]
+
| 9 = [[File:Carried_9.png|link=]]
| 0 = [[File:Carried_0.png]]
+
| 0 = [[File:Carried_0.png|link=]]
 
}}}}}}
 
}}}}}}

Revision as of 20:24, 1 August 2011