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}} |
− | {{#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 19: | ||
| 8 = [[File:Loaded_8.png]] | | 8 = [[File:Loaded_8.png]] | ||
| 9 = [[File:Loaded_9.png]] | | 9 = [[File:Loaded_9.png]] | ||
− | | 0 = {{#ifexpr: ({{{1}}}/100) mod 10 > 0 | + | | 0 = {{#ifexpr: ({{{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 34: | Line 31: | ||
| 9 = [[File:Loaded_9.png]] | | 9 = [[File:Loaded_9.png]] | ||
| 0 = [[File:Loaded_0.png]] | | 0 = [[File:Loaded_0.png]] | ||
− | }} | + | }}{{#ifeq: {{{2}}} | inf | [[File:Carried_inf.png]] | {{#switch: {{#expr: ({{{2}}}/100) mod 10}} |
− | {{#ifeq: {{{2}}} | inf | ||
− | |||
− | |||
| 1 = [[File:Carried_1.png]] | | 1 = [[File:Carried_1.png]] | ||
| 2 = [[File:Carried_2.png]] | | 2 = [[File:Carried_2.png]] | ||
Line 47: | Line 41: | ||
| 8 = [[File:Carried_8.png]] | | 8 = [[File:Carried_8.png]] | ||
| 9 = [[File:Carried_9.png]] | | 9 = [[File:Carried_9.png]] | ||
− | }} | + | }}{{#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 60: | Line 53: | ||
| 0 = {{#ifexpr: ({{{2}}}/100) mod 10 > 0 | | 0 = {{#ifexpr: ({{{2}}}/100) mod 10 > 0 | ||
| [[File:Carried_0.png]] }} | | [[File:Carried_0.png]] }} | ||
− | }} | + | }}{{#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]] | ||
Line 72: | Line 64: | ||
| 9 = [[File:Carried_9.png]] | | 9 = [[File:Carried_9.png]] | ||
| 0 = [[File:Carried_0.png]] | | 0 = [[File:Carried_0.png]] | ||
− | }} | + | }}}} |
− | }} |