From Brotato Wiki

(fix docs referring to items (all those docs have been moved to the new Template:ItemIcon) --TODO: Add full list of weapons)
Tag: Replaced
(Add previews for all weapons)
Line 1: Line 1:
<onlyinclude>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</onlyinclude>
<onlyinclude>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</onlyinclude>
<noinclude>
<noinclude>
Adds an icon and link for a given weapon.
Adds an icon and link for a given weapon.
==Examples==
==Examples==
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 10: Line 13:
|{{WeaponIcon|Cacti Club}}
|{{WeaponIcon|Cacti Club}}
|<code><nowiki>{{WeaponIcon|Cacti Club}}</nowiki></code>
|<code><nowiki>{{WeaponIcon|Cacti Club}}</nowiki></code>
|-
|{{WeaponIcon|Chopper}}
|<code><nowiki>{{WeaponIcon|Chopper}}</nowiki></code>
|-
|{{WeaponIcon|Circular Saw}}
|<code><nowiki>{{WeaponIcon|Circular Saw}}</nowiki></code>
|-
|{{WeaponIcon|Crossbow}}
|<code><nowiki>{{WeaponIcon|Crossbow}}</nowiki></code>
|-
|{{WeaponIcon|Double Barrel Shotgun}}
|<code><nowiki>{{WeaponIcon|Double Barrel Shotgun}}</nowiki></code>
|-
|{{WeaponIcon|Fist}}
|<code><nowiki>{{WeaponIcon|Fist}}</nowiki></code>
|-
|{{WeaponIcon|Flamethrower}}
|<code><nowiki>{{WeaponIcon|Flamethrower}}</nowiki></code>
|-
|{{WeaponIcon|Flaming Brass Knuckles}}
|<code><nowiki>{{WeaponIcon|Flaming Brass Knuckles}}</nowiki></code>
|-
|{{WeaponIcon|Ghost Axe}}
|<code><nowiki>{{WeaponIcon|Ghost Axe}}</nowiki></code>
|-
|{{WeaponIcon|Ghost Flint}}
|<code><nowiki>{{WeaponIcon|Ghost Flint}}</nowiki></code>
|-
|{{WeaponIcon|Ghost Scepter}}
|<code><nowiki>{{WeaponIcon|Ghost Scepter}}</nowiki></code>
|-
|{{WeaponIcon|Hammer}}
|<code><nowiki>{{WeaponIcon|Hammer}}</nowiki></code>
|-
|{{WeaponIcon|Hand}}
|<code><nowiki>{{WeaponIcon|Hand}}</nowiki></code>
|-
|{{WeaponIcon|Hatchet}}
|<code><nowiki>{{WeaponIcon|Hatchet}}</nowiki></code>
|-
|{{WeaponIcon|Knife}}
|<code><nowiki>{{WeaponIcon|Knife}}</nowiki></code>
|-
|{{WeaponIcon|Laser Gun}}
|<code><nowiki>{{WeaponIcon|Laser Gun}}</nowiki></code>
|-
|{{WeaponIcon|Lightning Shiv}}
|<code><nowiki>{{WeaponIcon|Lightning Shiv}}</nowiki></code>
|-
|{{WeaponIcon|Medical Gun}}
|<code><nowiki>{{WeaponIcon|Medical Gun}}</nowiki></code>
|-
|{{WeaponIcon|Minigun}}
|<code><nowiki>{{WeaponIcon|Minigun}}</nowiki></code>
|-
|{{WeaponIcon|Nuclear Launcher}}
|<code><nowiki>{{WeaponIcon|Nuclear Launcher}}</nowiki></code>
|-
|{{WeaponIcon|Obliterator}}
|<code><nowiki>{{WeaponIcon|Obliterator}}</nowiki></code>
|-
|{{WeaponIcon|Pistol}}
|<code><nowiki>{{WeaponIcon|Pistol}}</nowiki></code>
|-
|{{WeaponIcon|Plank}}
|<code><nowiki>{{WeaponIcon|Plank}}</nowiki></code>
|-
|{{WeaponIcon|Plasma Sledgehammer}}
|<code><nowiki>{{WeaponIcon|Plasma Sledgehammer}}</nowiki></code>
|-
|{{WeaponIcon|Potato Thrower}}
|<code><nowiki>{{WeaponIcon|Potato Thrower}}</nowiki></code>
|-
|{{WeaponIcon|Power Fist}}
|<code><nowiki>{{WeaponIcon|Power Fist}}</nowiki></code>
|-
|{{WeaponIcon|Rock}}
|<code><nowiki>{{WeaponIcon|Rock}}</nowiki></code>
|-
|{{WeaponIcon|Rocket Launcher}}
|<code><nowiki>{{WeaponIcon|Rocket Launcher}}</nowiki></code>
|-
|{{WeaponIcon|Scissors}}
|<code><nowiki>{{WeaponIcon|Scissors}}</nowiki></code>
|-
|{{WeaponIcon|Screwdriver}}
|<code><nowiki>{{WeaponIcon|Screwdriver}}</nowiki></code>
|-
|{{WeaponIcon|Shredder}}
|<code><nowiki>{{WeaponIcon|Shredder}}</nowiki></code>
|-
|{{WeaponIcon|Shuriken}}
|<code><nowiki>{{WeaponIcon|Shuriken}}</nowiki></code>
|-
|{{WeaponIcon|Slingshot}}
|<code><nowiki>{{WeaponIcon|Slingshot}}</nowiki></code>
|-
|{{WeaponIcon|SMG}}
|<code><nowiki>{{WeaponIcon|SMG}}</nowiki></code>
|-
|{{WeaponIcon|Sniper Gun}}
|<code><nowiki>{{WeaponIcon|Sniper Gun}}</nowiki></code>
|-
|{{WeaponIcon|Spear}}
|<code><nowiki>{{WeaponIcon|Spear}}</nowiki></code>
|-
|{{WeaponIcon|Spiky Shield}}
|<code><nowiki>{{WeaponIcon|Spiky Shield}}</nowiki></code>
|-
|{{WeaponIcon|Stick}}
|<code><nowiki>{{WeaponIcon|Stick}}</nowiki></code>
|-
|{{WeaponIcon|Sword}}
|<code><nowiki>{{WeaponIcon|Sword}}</nowiki></code>
|-
|{{WeaponIcon|Taser}}
|<code><nowiki>{{WeaponIcon|Taser}}</nowiki></code>
|-
|{{WeaponIcon|Thief Dagger}}
|<code><nowiki>{{WeaponIcon|Thief Dagger}}</nowiki></code>
|-
|{{WeaponIcon|Thunder Sword}}
|<code><nowiki>{{WeaponIcon|Thunder Sword}}</nowiki></code>
|-
|{{WeaponIcon|Torch}}
|<code><nowiki>{{WeaponIcon|Torch}}</nowiki></code>
|-
|{{WeaponIcon|Wand}}
|<code><nowiki>{{WeaponIcon|Wand}}</nowiki></code>
|-
|{{WeaponIcon|Wrench}}
|<code><nowiki>{{WeaponIcon|Wrench}}</nowiki></code>
|}
|}
<templatedata>
<templatedata>
{
{

Revision as of 19:11, 2 November 2022

File:.png [[]]


Adds an icon and link for a given weapon.

Examples

Preview Code
Cacti Club.png Cacti Club {{WeaponIcon|Cacti Club}}
Chopper.png Chopper {{WeaponIcon|Chopper}}
Circular Saw.png Circular Saw {{WeaponIcon|Circular Saw}}
Crossbow.png Crossbow {{WeaponIcon|Crossbow}}
Double Barrel Shotgun.png Double Barrel Shotgun {{WeaponIcon|Double Barrel Shotgun}}
Fist.png Fist {{WeaponIcon|Fist}}
Flamethrower.png Flamethrower {{WeaponIcon|Flamethrower}}
Flaming Brass Knuckles.png Flaming Brass Knuckles {{WeaponIcon|Flaming Brass Knuckles}}
Ghost Axe.png Ghost Axe {{WeaponIcon|Ghost Axe}}
Ghost Flint.png Ghost Flint {{WeaponIcon|Ghost Flint}}
Ghost Scepter.png Ghost Scepter {{WeaponIcon|Ghost Scepter}}
Hammer.png Hammer {{WeaponIcon|Hammer}}
Hand.png Hand {{WeaponIcon|Hand}}
Hatchet.png Hatchet {{WeaponIcon|Hatchet}}
Knife.png Knife {{WeaponIcon|Knife}}
Laser Gun.png Laser Gun {{WeaponIcon|Laser Gun}}
Lightning Shiv.png Lightning Shiv {{WeaponIcon|Lightning Shiv}}
Medical Gun.png Medical Gun {{WeaponIcon|Medical Gun}}
Minigun.png Minigun {{WeaponIcon|Minigun}}
Nuclear Launcher.png Nuclear Launcher {{WeaponIcon|Nuclear Launcher}}
Obliterator.png Obliterator {{WeaponIcon|Obliterator}}
Pistol.png Pistol {{WeaponIcon|Pistol}}
Plank.png Plank {{WeaponIcon|Plank}}
Plasma Sledgehammer.png Plasma Sledgehammer {{WeaponIcon|Plasma Sledgehammer}}
Potato Thrower.png Potato Thrower {{WeaponIcon|Potato Thrower}}
Power Fist.png Power Fist {{WeaponIcon|Power Fist}}
Rock.png Rock {{WeaponIcon|Rock}}
Rocket Launcher.png Rocket Launcher {{WeaponIcon|Rocket Launcher}}
Scissors.png Scissors {{WeaponIcon|Scissors}}
Screwdriver.png Screwdriver {{WeaponIcon|Screwdriver}}
Shredder.png Shredder {{WeaponIcon|Shredder}}
Shuriken.png Shuriken {{WeaponIcon|Shuriken}}
Slingshot.png Slingshot {{WeaponIcon|Slingshot}}
SMG.png SMG {{WeaponIcon|SMG}}
Sniper Gun.png Sniper Gun {{WeaponIcon|Sniper Gun}}
Spear.png Spear {{WeaponIcon|Spear}}
Spiky Shield.png Spiky Shield {{WeaponIcon|Spiky Shield}}
Stick.png Stick {{WeaponIcon|Stick}}
Sword.png Sword {{WeaponIcon|Sword}}
Taser.png Taser {{WeaponIcon|Taser}}
Thief Dagger.png Thief Dagger {{WeaponIcon|Thief Dagger}}
Thunder Sword.png Thunder Sword {{WeaponIcon|Thunder Sword}}
Torch.png Torch {{WeaponIcon|Torch}}
Wand.png Wand {{WeaponIcon|Wand}}
Wrench.png Wrench {{WeaponIcon|Wrench}}


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename 1

Weapon name (as shown on the Weapons page)

Example
Cacti Club
Stringrequired