From Brotato Wiki

No edit summary
m (fix wrong text labels in previous edit)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div class="itembox" style="{{#ifeq:{{{nofloat|}}}|1|<!--no float (for docs) -->float:none;|float:right;}}width:90%;max-width:400px;">
<div class="itembox" style="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|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;">
<div class="bold" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div>
<div class="bold colorrarity{{Weapon Data|{{{name}}}|rarity}}" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div>
<div style="width:100%;justify-content:space-between!important;display:flex;flex-direction: row!important;font-size:17px;">
<div style="width:100%;justify-content:space-between!important;display:flex;flex-direction: row!important;font-size:17px;">
<div style="color:rgb(234,226,176)">{{{Type}}}</div>
<div style="color:rgb(234,226,176)">{{Weapon Data|{{{name}}}|types}}</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="line"></div>
<div class="line"></div>
{{#if:{{{stats|}}}|
<div class="line"></div>
<div class="line"></div>
<div class="stats-container">
<div class="stats-container">
<div style="font-weight:bold; color:rgb(234,226,176);">Stats</div>
<table style="background:transparent; vertical-align=top; row-gap: 50px;border-spacing: 10px;">
{{{stats}}}
<tr>
</div>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Damage:</td>
|}}
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|damage|1}}</span><br><span class="colorrarity2">{{Weapon Data|{{{name}}}|damage|2}}</span><br><span class="colorrarity3">{{Weapon Data|{{{name}}}|damage|3}}</span><br><span class="colorrarity4">{{Weapon Data|{{{name}}}|damage|4}}</span></td>
{{#if:{{{description}}}|
</tr>
<div class="line"></div>
<tr>
<div class="stats-container">
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Attack Speed:</td>
<div style="font-weight:bold; color:rgb(234,226,176);">Description</div>
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|attackspeed|1}}</span> / <span class="colorrarity2">{{Weapon Data|{{{name}}}|attackspeed|2}}</span> / <span class="colorrarity3">{{Weapon Data|{{{name}}}|attackspeed|3}}</span> / <span class="colorrarity4">{{Weapon Data|{{{name}}}|attackspeed|4}}</span></td>
{{{Description}}}
</tr>
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">DPS:</td>
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|dps|1}}</span><br><span class="colorrarity2">{{Weapon Data|{{{name}}}|dps|2}}</span><br><span class="colorrarity3">{{Weapon Data|{{{name}}}|dps|3}}</span><br><span class="colorrarity4">{{Weapon Data|{{{name}}}|dps|4}}</span></td>
</tr>
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Crit Chance / Damage:</td>
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|crit|1}}</span> / <span class="colorrarity2">{{Weapon Data|{{{name}}}|crit|2}}</span> / <span class="colorrarity3">{{Weapon Data|{{{name}}}|crit|3}}</span> / <span class="colorrarity4">{{Weapon Data|{{{name}}}|crit|4}}</span> </td>
</tr>
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Range:</td>
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|range|1}}</span> / <span class="colorrarity2">{{Weapon Data|{{{name}}}|range|2}}</span> / <span class="colorrarity3">{{Weapon Data|{{{name}}}|range|3}}</span> / <span class="colorrarity4">{{Weapon Data|{{{name}}}|range|4}}</span> </td>
</tr>
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Knockback:</td>
<td> <span class="colorrarity1">{{Weapon Data|{{{name}}}|knockback|1}}</span> / <span class="colorrarity2">{{Weapon Data|{{{name}}}|knockback|2}}</span> / <span class="colorrarity3">{{Weapon Data|{{{name}}}|knockback|3}}</span> / <span class="colorrarity4">{{Weapon Data|{{{name}}}|knockback|4}}</span> </td>
</tr>
 
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Lifesteal:</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>
 
{{#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}}|
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Special Effects:</td>
<td> {{Weapon Data|{{{name}}}|special}} </td>
</tr>
| }}
{{#ifeq:{{Weapon Data|{{{name}}}|unlockedby}}|Default||
<tr>
<td style="display:inline-block;font-weight:bold; color:rgb(245,226,133);">Unlocked by:</td>
<td> {{Weapon Data|{{{name}}}|unlockedby}} </td>
</tr>
}}
</table>
</div>
</div>
|}}
</div></includeonly><noinclude>
</div>
</includeonly>
<noinclude>
== Usage ==
== 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.
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.
<pre>{{Infobox Weapon
<pre>{{Infobox Weapon
|name=Scissors
|name=Hatchet
|Type=Medical,Precise
}}</pre>
|stats=
'''Durability:''' 5 (80%[[File:melee.png|20px]]) 5 (80%[[File:ranged.png|20px]])<br>
'''Critical:''' x2 (10% chance) <br>
'''Cooldown:''' 1.01s <br>
'''Range:''' 150 (Melee) <br>
'''Life Steal:''' %40 <br>
|Description=SAAA
}}
{{Medical}}
{{Precise}}</pre>
==Example==
==Example==


<pre>
<pre>
{{Infobox Weapon
{{Infobox Weapon
|name=Scissors
|name=Hatchet
|Type=Medical,Precise
}}</pre>
|stats=
'''Durability:''' 5 (80%[[File:melee.png|20px]]) 5 (80%[[File:ranged.png|20px]])<br>
'''Critical:''' x2 (10% chance) <br>
'''Cooldown:''' 1.01s <br>
'''Range:''' 150 (Melee) <br>
'''Life Steal:''' %40 <br>
|Description=SAAA
}}{{Medical}}
{{Precise}}</pre>
results in...
results in...
{{Infobox Weapon
{{Infobox Weapon
|name=Scissors
|name=Hatchet
|Type=Medical,Precise
|nofloat=1
|stats=
}}
'''Durability:''' 5 (80%[[File:melee.png|20px]]) 5 (80%[[File:ranged.png|20px]])<br>
'''Critical:''' x2 (10% chance) <br>
'''Cooldown:''' 1.01s <br>
'''Range:''' 150 (Melee) <br>
'''Life Steal:''' %40 <br>
|Description=
Deals <span style="color:rgb(0,255,0);">damage</span></br>
Deals <span style="color:rgb(244,0,0);">damage</span>
}}{{Medical}}
{{Precise}}
</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.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
Attack Type: Sweep
Unlocked by: Win a run with Wildling.png Wildling