From Brotato Wiki
(Updated Infobox UI) |
m (fix wrong text labels in previous edit) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="itembox" style="float:right;width:90%;max-width:400px;"> | <includeonly><div class="itembox" style="{{#ifeq:{{{nofloat|}}}|1|<!--no float (for docs) -->float:none;|float:right;}}width:90%;max-width:400px;"> | ||
<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;"> | ||
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);">Attack Type:</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 | <td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Special Effects:</td> | ||
<td> {{Weapon Data|{{{name}}}|special}} </td> | <td> {{Weapon Data|{{{name}}}|special}} </td> | ||
</tr> | </tr> | ||
Line 70: | Line 77: | ||
{{Infobox Weapon | {{Infobox Weapon | ||
|name=Hatchet | |name=Hatchet | ||
}}</pre> | |||
results in... | results in... | ||
{{Infobox Weapon | {{Infobox Weapon | ||
|name=Hatchet | |name=Hatchet | ||
|nofloat=1 | |||
}} | |||
</noinclude> | </noinclude> |
Latest 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
Damage: | 5(100%15%) 10(100%15%) 20(100%15%) 40(100%15%) |
Attack Speed: | 0.68s / 0.65s / 0.62s / 0.58s |
DPS: | 7.4(147% 22.1%)/s 14.7(147% 22.1%)/s 29.4(147% 22.1%)/s 64.5(161% 24.2%)/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 |
Attack Type: | Sweep |
Unlocked by: | Win a run with Wildling |