From Brotato Wiki
(improve docs (add another example row)) |
(show DLC badge, where applicable) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude> | ||
<tr> | <tr> | ||
<td>{{Iconbox|{{{name|{{{1|}}}}}}|rarity=1}}</td> | <!-- Iconbox/Name --> | ||
<td>{{Iconbox|{{{name|{{{1|}}}}}}|rarity={{Weapon Data|{{{name|{{{1|}}}}}}|rarity|1}}|dlcbadge=1}} | |||
</td> | |||
<!-- Class --> | |||
<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> | ||
<!-- Damage --> | |||
<td> | <td> | ||
<span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|damage|1}}</span><br> | <span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|damage|1}}</span><br> | ||
Line 9: | Line 15: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|damage|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|damage|4}}</span> | ||
</td> | </td> | ||
<!-- Attack Speed --> | |||
<td> | <td> | ||
<span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|attackspeed|1}}</span><br> | <span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|attackspeed|1}}</span><br> | ||
Line 15: | Line 23: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|attackspeed|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|attackspeed|4}}</span> | ||
</td> | </td> | ||
<!-- DPS --> | |||
<td> | <td> | ||
<span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|dps|1}}</span><br> | <span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|dps|1}}</span><br> | ||
Line 21: | Line 31: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|dps|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|dps|4}}</span> | ||
</td> | </td> | ||
<!-- Crit Chance/Damage --> | |||
<td> | <td> | ||
<span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|crit|1}}</span><br> | <span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|crit|1}}</span><br> | ||
Line 27: | Line 39: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|crit|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|crit|4}}</span> | ||
</td> | </td> | ||
<!-- Range --> | |||
<td> | <td> | ||
<span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|range|1}}</span><br> | <span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|range|1}}</span><br> | ||
Line 33: | Line 47: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|range|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|range|4}}</span> | ||
</td> | </td> | ||
<!-- Knockback --> | |||
<td> | <td> | ||
<span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|knockback|1}}</span><br> | <span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|knockback|1}}</span><br> | ||
Line 39: | Line 55: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|knockback|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|knockback|4}}</span> | ||
</td> | </td> | ||
<!-- Life Steal --> | |||
<td> | <td> | ||
<span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|lifesteal|1}}</span><br> | <span class="colorrarity1">{{Weapon Data|{{{name|{{{1|}}}}}}|lifesteal|1}}</span><br> | ||
Line 45: | Line 63: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|lifesteal|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|lifesteal|4}}</span> | ||
</td> | </td> | ||
<!-- Special Effects --> | |||
<td>{{Weapon Data|{{{name|{{{1|}}}}}}|special}}</td> | <td>{{Weapon Data|{{{name|{{{1|}}}}}}|special}}</td> | ||
<td> | <td> | ||
Line 52: | Line 72: | ||
<span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|price|4}}</span> | <span class="colorrarity4">{{Weapon Data|{{{name|{{{1|}}}}}}|price|4}}</span> | ||
</td> | </td> | ||
<!-- Unlocked By --> | |||
<td>{{Weapon Data|{{{name|{{{1|}}}}}}|unlockedby}}</td> | <td>{{Weapon Data|{{{name|{{{1|}}}}}}|unlockedby}}</td> | ||
</tr> | </tr> | ||
Line 64: | Line 86: | ||
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code><br><br> | <code><nowiki>{{TableHeaders|weapons}}</nowiki></code><br><br> | ||
<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><br> | ||
<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}} | |||
{{TableRowWeapon|War Hammer}} | |||
</table> | </table> | ||
Latest revision as of 22:52, 3 November 2024
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 | |||
Blunt, Heavy |
- |
- |
- |
- |
- |
Resets the cooldown of all offensive turrets when attacking |
- |
Win a run with Dwarf |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Weapon Name | name 1 | Name of the weapon, as shown on the Weapons page
| String | required |