From Brotato Wiki

(Updated Infobox UI)
(use `nolink=1` on the Iconbox. This allows users to click the image to see its full-size version, and the link is redundant anyway as this is only used when you're already viewing a weapon page)
Line 2: Line 2:
<div class="itemboxheader">
<div class="itemboxheader">
<div style="float:left">
<div style="float:left">
{{Iconbox|{{{name}}}|caption=no|rarity={{Weapon Data|{{{name}}}|rarity}}|size=100px}}
{{Iconbox|{{{name}}}|caption=no|rarity={{Weapon Data|{{{name}}}|rarity}}|size=100px|nolink=1}}
</div>
</div>
<div style="width:60%;max-width:280px;margin-left:15px;height:100px;justify-content:space-between!important;display:flex;flex-direction: column!important;float:left;margin-top:0px;">
<div style="width:60%;max-width:280px;margin-left:15px;height:100px;justify-content:space-between!important;display:flex;flex-direction: column!important;float:left;margin-top:0px;">

Revision as of 11:44, 4 December 2022

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
}}{{Medical}}
{{Precise}}

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
Unlocked by: Win a run with Wildling.png Wildling
Medical
(2)+1% HP Regeneration
(3)+2% HP Regeneration
(4)+3% HP Regeneration
(5)+4% HP Regeneration
(6)+5% HP Regeneration
Precise
(2)+3% Crit Chance
(3)+6% Crit Chance
(4)+9% Crit Chance
(5)+12% Crit Chance
(6)+15% Crit Chance