From Brotato Wiki

(add nofloat option to improve how these docs look)
(add row for Attack Type (only applicable to melee))
Line 44: Line 44:
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|lifesteal|1}}</span> / <span class="colorrarity2">{{Weapon Data|{{{name}}}|lifesteal|2}}</span> / <span class="colorrarity3">{{Weapon Data|{{{name}}}|lifesteal|3}}</span> / <span class="colorrarity4">{{Weapon Data|{{{name}}}|lifesteal|4}}</span> </td>
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|lifesteal|1}}</span> / <span class="colorrarity2">{{Weapon Data|{{{name}}}|lifesteal|2}}</span> / <span class="colorrarity3">{{Weapon Data|{{{name}}}|lifesteal|3}}</span> / <span class="colorrarity4">{{Weapon Data|{{{name}}}|lifesteal|4}}</span> </td>
</tr>
</tr>
{{#if:{{Weapon Data|{{{name}}}|attacktype}}|
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Special Effects:</td>
<td> {{Weapon Data|{{{name}}}|attacktype}} </td>
</tr>
| }}


{{#if:{{Weapon Data|{{{name}}}|special}}|  
{{#if:{{Weapon Data|{{{name}}}|special}}|  
<tr>
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Special effects:</td>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Attack Type:</td>
<td> {{Weapon Data|{{{name}}}|special}} </td>
<td> {{Weapon Data|{{{name}}}|special}} </td>
</tr>  
</tr>  

Revision as of 11:39, 9 January 2023

Usage

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Infobox Weapon
|name=Hatchet
}}

Example

{{Infobox Weapon
|name=Hatchet
}}

results in...

Hatchet.png
Hatchet
Damage: 5(100%Melee Damage.png15%Attack Speed.png)
10(100%Melee Damage.png15%Attack Speed.png)
20(100%Melee Damage.png15%Attack Speed.png)
40(100%Melee Damage.png15%Attack Speed.png)
Attack Speed: 0.68s / 0.65s / 0.62s / 0.58s
DPS: 7.4(147%Melee Damage.png 22.1%Attack Speed.png)/s
14.7(147%Melee Damage.png 22.1%Attack Speed.png)/s
29.4(147%Melee Damage.png 22.1%Attack Speed.png)/s
64.5(161%Melee Damage.png 24.2%Attack Speed.png)/s
Crit Chance / Damage: x2 (3%) / x2 (3%) / x2 (3%) / x2 (3%)
Range: 125 / 125 / 125 / 125
Knockback: 2 / 2 / 2 / 2
Lifesteal: 0 / 0 / 0 / 0
Special Effects: Sweep
Unlocked by: Win a run with Wildling.png Wildling