From Brotato Wiki

(apply Template:TableHeaders and improve docs)
(improve docs (add another example row))
Line 62: Line 62:
== Example ==
== Example ==


<code><nowiki>{{TableHeaders|weapons}}</nowiki></code><br>
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code><br><br>
<code><nowiki>{{TableRowWeapon|Cacti Club}}</nowiki></code>
<code><nowiki>{{TableRowWeapon|Cacti Club}}</nowiki></code><br>
<code><nowiki>{{TableRowWeapon|Chopper}}</nowiki></code>
<table class="wikitable sortable jquery-tablesorter" style="width: 95%; color: #eee; background: transparent; text-align: center; vertical-align: middle">
<table class="wikitable sortable jquery-tablesorter" style="width: 95%; color: #eee; background: transparent; text-align: center; vertical-align: middle">
{{TableHeaders|weapons}}
{{TableHeaders|weapons}}
{{TableRowWeapon|Cacti Club}}
{{TableRowWeapon|Cacti Club}}
{{TableRowWeapon|Chopper}}
</table>
</table>



Revision as of 22:10, 3 November 2022



Creates a row for the specified Weapon. Rows MUST be wrapped inside a table. Use Template:TableHeaders for the headers row.

Example

{{TableHeaders|weapons}}

{{TableRowWeapon|Cacti Club}}
{{TableRowWeapon|Chopper}}

Name Class Damage Attack Speed DPS Crit Damage/Chance Range Knockback Lifesteal Special Effects Base price Unlocked by
Primitive, Heavy

10(80%Melee Damage.png)
20(85%Melee Damage.png)
30(90%Melee Damage.png)
50(100%Melee Damage.png)

1.66s
1.58s
1.51s
1.36s

6.0(48%Melee Damage.png)/s
12.7(54%Melee Damage.png)/s
19.9(60%Melee Damage.png)/s
36.8(74%Melee Damage.png)/s

x2 (3%)
x2 (3%)
x2 (3%)
x2 (3%)

200
200
200
200

8
8
8
8

0
0
0
0

Hitting an enemy spawns 3/4/5/6 projectiles dealing 50%/60%/70%/80%Ranged Damage.png damage

20
39
74
149

Default
Blade

6(50%Melee Damage.png15%Max HP.png)
12(50%Melee Damage.png20%Max HP.png)
18(50%Melee Damage.png25%Max HP.png)
30(50%Melee Damage.png30%Max HP.png)

0.99s
0.99s
0.96s
0.89s

6.1(51%Melee Damage.png15%Max HP.png)/s
12.2(51%Melee Damage.png20%Max HP.png)/s
18.8(52%Melee Damage.png26%Max HP.png)/s
33.7(56%Melee Damage.png34%Max HP.png)/s

x2 (10%)
x2 (15%)
x2 (20%)
x2 (25%)

135
150
165
180

2
2
2
2

0
0
0
0

+1/+1/+1/+2 health healed from consumables

15
31
61
122

Win a run with Multitasker.png Multitasker

No description.

Template parameters

ParameterDescriptionTypeStatus
Weapon Namename 1

Name of the weapon, as shown on the Weapons page

Example
Cacti Club
Stringrequired