From Brotato Wiki

m (Darkly77 moved page Template:WeaponSetWeapons to Template:WeaponClassWeapons: Rename "weapon set" to "weapon class")
(Rename "weapon set" to "weapon class")
Line 89: Line 89:


<noinclude>
<noinclude>
Lists the weapons that belong to the specified set.
Lists the weapons that belong to the specified class.


See the [[Weapons#Weapon_Sets|Weapon Sets]] section on the [[Weapons]] page to see these in full use.
See the [[Weapons#Weapon_Classes|Weapon Classes]] section on the [[Weapons]] page to see these in full use.


== Previews ==
== Previews ==
Line 97: Line 97:
=== Single Example ===
=== Single Example ===


<code><nowiki>{{WeaponSetWeapons|Blunt}}</nowiki></code>
<code><nowiki>{{WeaponClassWeapons|Blunt}}</nowiki></code>


{{WeaponSetWeapons|Blunt}}
{{WeaponClassWeapons|Blunt}}


Using "set" param (same result):
Using "set" param (same result):


<code><nowiki>{{WeaponSetWeapons|set=Blunt}}</nowiki></code>
<code><nowiki>{{WeaponClassWeapons|set=Blunt}}</nowiki></code>


{{WeaponSetWeapons|set=Blunt}}
{{WeaponClassWeapons|set=Blunt}}




Line 117: Line 117:
|-
|-
|[[Blade]]
|[[Blade]]
|<code><nowiki>{{WeaponSetWeapons|Blade}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Blade}}</nowiki></code>
|{{WeaponSetWeapons|Blade}}
|{{WeaponClassWeapons|Blade}}
|-
|-
|[[Blunt]]
|[[Blunt]]
|<code><nowiki>{{WeaponSetWeapons|Blunt}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Blunt}}</nowiki></code>
|{{WeaponSetWeapons|Blunt}}
|{{WeaponClassWeapons|Blunt}}
|-
|-
|[[Elemental]]
|[[Elemental]]
|<code><nowiki>{{WeaponSetWeapons|Elemental}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Elemental}}</nowiki></code>
|{{WeaponSetWeapons|Elemental}}
|{{WeaponClassWeapons|Elemental}}
|-
|-
|[[Ethereal]]
|[[Ethereal]]
|<code><nowiki>{{WeaponSetWeapons|Ethereal}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Ethereal}}</nowiki></code>
|{{WeaponSetWeapons|Ethereal}}
|{{WeaponClassWeapons|Ethereal}}
|-
|-
|[[Explosive]]
|[[Explosive]]
|<code><nowiki>{{WeaponSetWeapons|Explosive}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Explosive}}</nowiki></code>
|{{WeaponSetWeapons|Explosive}}
|{{WeaponClassWeapons|Explosive}}
|-
|-
|[[Gun]]
|[[Gun]]
|<code><nowiki>{{WeaponSetWeapons|Gun}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Gun}}</nowiki></code>
|{{WeaponSetWeapons|Gun}}
|{{WeaponClassWeapons|Gun}}
|-
|-
|[[Heavy]]
|[[Heavy]]
|<code><nowiki>{{WeaponSetWeapons|Heavy}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Heavy}}</nowiki></code>
|{{WeaponSetWeapons|Heavy}}
|{{WeaponClassWeapons|Heavy}}
|-
|-
|[[Medical]]
|[[Medical]]
|<code><nowiki>{{WeaponSetWeapons|Medical}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Medical}}</nowiki></code>
|{{WeaponSetWeapons|Medical}}
|{{WeaponClassWeapons|Medical}}
|-
|-
|[[Medieval]]
|[[Medieval]]
|<code><nowiki>{{WeaponSetWeapons|Medieval}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Medieval}}</nowiki></code>
|{{WeaponSetWeapons|Medieval}}
|{{WeaponClassWeapons|Medieval}}
|-
|-
|[[Precise]]
|[[Precise]]
|<code><nowiki>{{WeaponSetWeapons|Precise}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Precise}}</nowiki></code>
|{{WeaponSetWeapons|Precise}}
|{{WeaponClassWeapons|Precise}}
|-
|-
|[[Primitive]]
|[[Primitive]]
|<code><nowiki>{{WeaponSetWeapons|Primitive}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Primitive}}</nowiki></code>
|{{WeaponSetWeapons|Primitive}}
|{{WeaponClassWeapons|Primitive}}
|-
|-
|[[Support]]
|[[Support]]
|<code><nowiki>{{WeaponSetWeapons|Support}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Support}}</nowiki></code>
|{{WeaponSetWeapons|Support}}
|{{WeaponClassWeapons|Support}}
|-
|-
|[[Tool]]
|[[Tool]]
|<code><nowiki>{{WeaponSetWeapons|Tool}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Tool}}</nowiki></code>
|{{WeaponSetWeapons|Tool}}
|{{WeaponClassWeapons|Tool}}
|-
|-
|[[Unarmed]]
|[[Unarmed]]
|<code><nowiki>{{WeaponSetWeapons|Unarmed}}</nowiki></code>
|<code><nowiki>{{WeaponClassWeapons|Unarmed}}</nowiki></code>
|{{WeaponSetWeapons|Unarmed}}
|{{WeaponClassWeapons|Unarmed}}
|}
|}


Line 177: Line 177:
{
{
"params": {
"params": {
"set": {
"class": {
"label": "Weapon Set",
"label": "Weapon Class",
"description": "Name of the weapon set (as seen on the Weapons page, under Weapon Sets)",
"description": "Name of the weapon class (as seen on the Weapons page, under Weapon Classes)",
"type": "string",
"type": "string",
"autovalue": "",
"autovalue": "",
Line 185: Line 185:
"suggested": true,
"suggested": true,
"aliases": [
"aliases": [
"1"
"1",
                            "set"
]
]
}
}
Line 191: Line 192:
"format": "inline",
"format": "inline",
"paramOrder": [
"paramOrder": [
"set"
"class"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 20:51, 9 November 2022


Lists the weapons that belong to the specified class.

See the Weapon Classes section on the Weapons page to see these in full use.

Previews

Single Example

{{WeaponClassWeapons|Blunt}}

Hammer
  Hammer


Rock
  Rock


Using "set" param (same result):

{{WeaponClassWeapons|set=Blunt}}

Hammer
  Hammer


Rock
  Rock



Full List

Set Code Preview
Blade {{WeaponClassWeapons|Blade}}

Sword
  Sword

Blunt {{WeaponClassWeapons|Blunt}}
Hammer
  Hammer

Rock
  Rock

Elemental {{WeaponClassWeapons|Elemental}}

Plank
  Plank



Torch
  Torch


Taser
  Taser

Wand
  Wand
Ethereal {{WeaponClassWeapons|Ethereal}}

Explosive {{WeaponClassWeapons|Explosive}}
Plank
  Plank





Gun {{WeaponClassWeapons|Gun}}



Pistol
  Pistol


SMG
  SMG

Heavy {{WeaponClassWeapons|Heavy}}
Hammer
  Hammer





Medical {{WeaponClassWeapons|Medical}}

Medieval {{WeaponClassWeapons|Medieval}}
Sword
  Sword

Precise {{WeaponClassWeapons|Precise}}
Knife
  Knife






Primitive {{WeaponClassWeapons|Primitive}}

Rock
  Rock

Spear
  Spear

Stick
  Stick

Torch
  Torch

Support {{WeaponClassWeapons|Support}}
Hand
  Hand


Taser
  Taser
Tool {{WeaponClassWeapons|Tool}}
Wrench
  Wrench
Unarmed {{WeaponClassWeapons|Unarmed}}
Fist
  Fist


Hand
  Hand


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Weapon Classclass 1 set

Name of the weapon class (as seen on the Weapons page, under Weapon Classes)

Auto value
Stringrequired