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 |
1.66s |
x2 (3%) |
200 |
8 |
0 |
Hitting an enemy spawns 3/4/5/6 projectiles dealing 50%/60%/70%/80% damage |
20 |
Default | |||
Blade |
0.99s |
x2 (10%) |
135 |
2 |
0 |
+1/+1/+1/+2 health healed from consumables |
15 |
Win a run with Multitasker | |||
Heavy, Explosive |
- |
- |
- |
- |
- |
Projectiles explode on hit |
- |
Win a run with Soldier |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Weapon Name | name 1 | Name of the weapon, as shown on the Weapons page
| String | required |