From Brotato Wiki

(improve docs (add another example row))
(added rarity for coloring)
Line 1: Line 1:
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<tr>
<tr>
<td>{{Iconbox|{{{name|{{{1|}}}}}}|rarity=1}}</td>
<td>{{Iconbox|{{{name|{{{1|}}}}}}|rarity={{Weapon Data|{{{name|{{{1|}}}}}}|rarity|1}}}}</td>
<td><span style="color: rgb(234, 226, 176)">{{Weapon Data|{{{name|{{{1|}}}}}}|types}}</span></td>
<td><span style="color: rgb(234, 226, 176)">{{Weapon Data|{{{name|{{{1|}}}}}}|types}}</span></td>
<td>
<td>
Line 65: Line 65:
<code><nowiki>{{TableRowWeapon|Cacti Club}}</nowiki></code><br>
<code><nowiki>{{TableRowWeapon|Cacti Club}}</nowiki></code><br>
<code><nowiki>{{TableRowWeapon|Chopper}}</nowiki></code>
<code><nowiki>{{TableRowWeapon|Chopper}}</nowiki></code>
<code><nowiki>{{TableRowWeapon|Nuclear Launcher}}</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}}
{{TableRowWeapon|Chopper}}
{{TableRowWeapon|Nuclear Launcher}}
</table>
</table>



Revision as of 07:21, 4 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}} {{TableRowWeapon|Nuclear Launcher}}

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
Heavy, Explosive

-
-
60(100%Ranged Damage.png100%Elemental Damage.png)
120(100%Ranged Damage.png100%Elemental Damage.png)

-
-
2.12s
2.12s

-
-
28.3(47%Ranged Damage.png47%Elemental Damage.png)/s
56.6(47%Ranged Damage.png47%Elemental Damage.png)/s

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

-
-
800
800

-
-
15
15

-
-
0
0

Projectiles explode on hit

-
-
144
289

Win a run with Soldier.png Soldier

No description.

Template parameters

ParameterDescriptionTypeStatus
Weapon Namename 1

Name of the weapon, as shown on the Weapons page

Example
Cacti Club
Stringrequired