From Brotato Wiki
(INITIAL \o/ (uses the same markup as Template:CharacterIcon)) |
(Renamed Plasma Sledgehammer > Plasma Sledge) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</onlyinclude> | <includeonly><onlyinclude>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</onlyinclude></includeonly><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" style="background: transparent; color: #eee;" | |||
|+ | |+ | ||
!Preview | !style="background-color: rgb(220,220,220,0.2); color: #eee;"| Preview | ||
!Code | !style="background-color: rgb(220,220,220,0.2); color: #eee;"| Code | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Cacti Club}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Cacti Club}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Chopper}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Chopper}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Circular Saw}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Circular Saw}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Crossbow}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Crossbow}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Double Barrel Shotgun}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Double Barrel Shotgun}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Fist}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Fist}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Flamethrower}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Flamethrower}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Flaming Brass Knuckles}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Flaming Brass Knuckles}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Ghost Axe}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Ghost Axe}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Ghost Flint}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Ghost Flint}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Ghost Scepter}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Ghost Scepter}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Hammer}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Hammer}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Hand}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Hand}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Hatchet}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Hatchet}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Knife}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Knife}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Laser Gun}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Laser Gun}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Lightning Shiv}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Lightning Shiv}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Medical Gun}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Medical Gun}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Minigun}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Minigun}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Nuclear Launcher}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Nuclear Launcher}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Obliterator}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Obliterator}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Pistol}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Pistol}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Plank}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Plank}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Plasma Sledge}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Plasma Sledge}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Potato Thrower}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Potato Thrower}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Power Fist}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Power Fist}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Rock}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Rock}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Rocket Launcher}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Rocket Launcher}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Scissors}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Scissors}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Screwdriver}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Screwdriver}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Shredder}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Shredder}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Shuriken}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Shuriken}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Slingshot}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Slingshot}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|SMG}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|SMG}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Sniper Gun}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Sniper Gun}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Spear}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Spear}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Spiky Shield}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Spiky Shield}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Stick}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Stick}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Sword}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Sword}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Taser}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Taser}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Thief Dagger}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Thief Dagger}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Thunder Sword}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Thunder Sword}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Torch}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Torch}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Wand}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Wand}}</nowiki></code> | ||
|- | |- | ||
|{{WeaponIcon| | |{{WeaponIcon|Wrench}} | ||
|<code><nowiki>{{WeaponIcon| | |<code><nowiki>{{WeaponIcon|Wrench}}</nowiki></code> | ||
| | |} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 474: | Line 156: | ||
"label": "Name", | "label": "Name", | ||
"description": "Weapon name (as shown on the Weapons page)", | "description": "Weapon name (as shown on the Weapons page)", | ||
"example": " | "example": "Cacti Club", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, |
Latest revision as of 13:45, 4 November 2024
Adds an icon and link for a given weapon.
Examples
Preview | Code |
---|---|
Cacti Club | {{WeaponIcon|Cacti Club}}
|
Chopper | {{WeaponIcon|Chopper}}
|
Circular Saw | {{WeaponIcon|Circular Saw}}
|
Crossbow | {{WeaponIcon|Crossbow}}
|
Double Barrel Shotgun | {{WeaponIcon|Double Barrel Shotgun}}
|
Fist | {{WeaponIcon|Fist}}
|
Flamethrower | {{WeaponIcon|Flamethrower}}
|
Flaming Brass Knuckles | {{WeaponIcon|Flaming Brass Knuckles}}
|
Ghost Axe | {{WeaponIcon|Ghost Axe}}
|
Ghost Flint | {{WeaponIcon|Ghost Flint}}
|
Ghost Scepter | {{WeaponIcon|Ghost Scepter}}
|
Hammer | {{WeaponIcon|Hammer}}
|
Hand | {{WeaponIcon|Hand}}
|
Hatchet | {{WeaponIcon|Hatchet}}
|
Knife | {{WeaponIcon|Knife}}
|
Laser Gun | {{WeaponIcon|Laser Gun}}
|
Lightning Shiv | {{WeaponIcon|Lightning Shiv}}
|
Medical Gun | {{WeaponIcon|Medical Gun}}
|
Minigun | {{WeaponIcon|Minigun}}
|
Nuclear Launcher | {{WeaponIcon|Nuclear Launcher}}
|
Obliterator | {{WeaponIcon|Obliterator}}
|
Pistol | {{WeaponIcon|Pistol}}
|
Plank | {{WeaponIcon|Plank}}
|
Plasma Sledge | {{WeaponIcon|Plasma Sledge}}
|
Potato Thrower | {{WeaponIcon|Potato Thrower}}
|
Power Fist | {{WeaponIcon|Power Fist}}
|
Rock | {{WeaponIcon|Rock}}
|
Rocket Launcher | {{WeaponIcon|Rocket Launcher}}
|
Scissors | {{WeaponIcon|Scissors}}
|
Screwdriver | {{WeaponIcon|Screwdriver}}
|
Shredder | {{WeaponIcon|Shredder}}
|
Shuriken | {{WeaponIcon|Shuriken}}
|
Slingshot | {{WeaponIcon|Slingshot}}
|
SMG | {{WeaponIcon|SMG}}
|
Sniper Gun | {{WeaponIcon|Sniper Gun}}
|
Spear | {{WeaponIcon|Spear}}
|
Spiky Shield | {{WeaponIcon|Spiky Shield}}
|
Stick | {{WeaponIcon|Stick}}
|
Sword | {{WeaponIcon|Sword}}
|
Taser | {{WeaponIcon|Taser}}
|
Thief Dagger | {{WeaponIcon|Thief Dagger}}
|
Thunder Sword | {{WeaponIcon|Thunder Sword}}
|
Torch | {{WeaponIcon|Torch}}
|
Wand | {{WeaponIcon|Wand}}
|
Wrench | {{WeaponIcon|Wrench}}
|
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name 1 | Weapon name (as shown on the Weapons page)
| String | required |