Difference between revisions of "Template:Wither/Sandbox/AmmoType"

From Sunrust Wiki
Jump to navigation Jump to search
 
Line 5: Line 5:
This will show the Icon and Text of Ammo.
This will show the Icon and Text of Ammo.
Availables ammotypes:  
Availables ammotypes:  
 
{{{1}}}
pist = Pistol Ammo
pist = Pistol Ammo
buck = Buckshot/Shotgun
buck = Buckshot/Shotgun
Line 14: Line 14:
bolt = Crossbow Bolts
bolt = Crossbow Bolts
expl = Explosive
expl = Explosive
chem = Chemical Vials
chem = Chemical Ammo
nail = Nails
nail = Nails
medk = Medical Kit Power
medk = Medical Kit Power
scrp = Scrap
scrp = Scrap
--- WIP ---
logs = Christmas (Log)
logs = Christmas (Log)
snowbl = Christmas (Snowball)
snowbl = Christmas (Snowball)
{{{2}}} = IMG SIZE
{{{3}}} = If the ammo will have the text e.g.: "[AmmoIcon] Chemical Ammo"
---------- By default it is enabled, To disable it you need to set the parameter to empty "{{AmmoType|pist|24px|}}"


-->{{#switch: {{{1|scrp}}}
-->{{#switch: {{{1|pist}}}
| pist|pistol = 0
| pist|pistol = <span style="margin:0 0.15em 0 0.15em;">[[File:Pistol ammo icon.png|{{{2|24px}}}|Pistol Ammo]] {{#if: {{{3|1}}} | Pistol Ammo}}</span>
| buck|buckshot|shotgun= 1
| buck|buckshot|shotgun= <span style="margin:0 0.15em 0 0.15em;">[[File:Shotgun ammo icon.png|{{{2|24px}}}|Shotgun Ammo]] {{#if: {{{3|}}} | Shotgun Ammo}}</span>
| asri|assaultrifle|arifle = 2
| asri|assaultrifle|arifle = <span style="margin:0 0.15em 0 0.15em;">[[File:Assault rifle ammo icon.png|{{{2|24px}}}|Assault Rifle Ammo]] {{#if: {{{3|}}} | Assault Rifle Ammo}}</span>
| rifl|rifle = 3
| rifl|rifle = <span style="margin:0 0.15em 0 0.15em;">[[File:Rifle ammo icon 2.png|{{{2|24px}}}|Rifle ammo]]</span>
| smg = 4
| smg = <span style="margin:0 0.15em 0 0.15em;">[[File:Smg ammo icon 2.png|{{{2|24px}}}|SMG ammo]]</span>
| puls|pulse|pulseshot = 5
| puls|pulse|pulseshot = <span style="margin:0 0.15em 0 0.15em;">[[File:Pulse ammo icon.png|{{{2|24px}}}|Pulse ammo]]</span>
| bolt|crossbow|crossbowbolt = 6
| bolt|crossbow|crossbowbolt = <span style="margin:0 0.15em 0 0.15em;">[[File:Bolt_ammo_icon.png|{{{2|24px}}}|Crossbow ammo]]</span>
| expl|explosive = 7
| expl|explosive = <span style="margin:0 0.15em 0 0.15em;">[[File:Explosive ammo icon 3.png|{{{2|24px}}}|Explosive ammo]]</div>
| chem|chemical = 8
| chem|chemical = <span style="margin:0 0.15em 0 0.15em;">[[File:Chemical ammo icon.png|24px|Chemical Ammo]]</span>
| nail|nails|cadeammo = 9
| nail|nails|cadeammo = <span style="margin:0 0.15em 0 0.15em;">[[File:Nail ammo icon 2.png|{{{2|24px}}}|Nails]]</span>
| medk|medammo|medicalpower|medicalammo = 10
| medk|medammo|medicalpower|medicalammo = <span style="margin:0 0.15em 0 0.15em;">[[File:Medpower ammo icon.png|{{{2|24px}}}|Medical Power]]</span>
| scrp|scrap = 11
| scrp|scrap = <span style="margin:0 0.15em 0 0.15em;">[[File:Scrap ammo icon.png|{{{2|24px}}}|Scrap]]</span>
| c_logs = 21
| c_logs = 21
| c_snowbl = 22
| c_snowbl = 22
}}
}}

Latest revision as of 17:22, 25 December 2021

Pistol Ammo Pistol Ammo