Difference between revisions of "Template:Ammo tool"
Line 9: | Line 9: | ||
| 8 = [[File:Loaded_8.png]] | | 8 = [[File:Loaded_8.png]] | ||
| 9 = [[File:Loaded_9.png]] | | 9 = [[File:Loaded_9.png]] | ||
− | }} | + | }} |
− | + | {{#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 = | + | | 0 = {{#if: {{#expr: ({{{1}}}/100) mod 10}} > 0 |
− | + | | [[File:Loaded_0.png]] }} | |
− | + | }} | |
− | + | {{#switch: {{#expr: {{{1}}} mod 10}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}{{#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