From Brotato Wiki

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly><div class="itembox" style="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">
Line 8: Line 7:
<div class="bold" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div>
<div class="bold" 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>
Line 15: Line 14:
<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);">Damage:</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Damage:</div>
{{Weapon Data|{{{name}}}|damage|1}} / {{Weapon Data|{{{name}}}|damage|2}} / {{Weapon Data|{{{name}}}|damage|3}} / {{Weapon Data|{{{name}}}|damage|4}}<br>
{{Weapon Data|{{{name}}}|damage|1}} / {{Weapon Data|{{{name}}}|damage|2}} / {{Weapon Data|{{{name}}}|damage|3}} / {{Weapon Data|{{{name}}}|damage|4}}<br>
<div style="font-weight:bold; color:rgb(234,226,176);">Attack Speed</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Attack Speed</div>
{{Weapon Data|{{{name}}}|attackspeed|1}} / {{Weapon Data|{{{name}}}|attackspeed|2}} / {{Weapon Data|{{{name}}}|attackspeed|3}} / {{Weapon Data|{{{name}}}|attackspeed|4}}<br>
{{Weapon Data|{{{name}}}|attackspeed|1}} / {{Weapon Data|{{{name}}}|attackspeed|2}} / {{Weapon Data|{{{name}}}|attackspeed|3}} / {{Weapon Data|{{{name}}}|attackspeed|4}}<br>
<div style="font-weight:bold; color:rgb(234,226,176);">DPS</div>
<div style="font-weight:bold; color:rgb(234,226,176);">DPS</div>
{{Weapon Data|{{{name}}}|dps|1}} / {{Weapon Data|{{{name}}}|dps|2}} / {{Weapon Data|{{{name}}}|dps|3}} / {{Weapon Data|{{{name}}}|dps|4}}<br>
{{Weapon Data|{{{name}}}|dps|1}} / {{Weapon Data|{{{name}}}|dps|2}} / {{Weapon Data|{{{name}}}|dps|3}} / {{Weapon Data|{{{name}}}|dps|4}}<br>
<div style="font-weight:bold; color:rgb(234,226,176);">Crit Chance / Damage</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Crit Chance / Damage</div>
{{Weapon Data|{{{name}}}|crit|1}} / {{Weapon Data|{{{name}}}|crit|2}} / {{Weapon Data|{{{name}}}|crit|3}} / {{Weapon Data|{{{name}}}|crit|4}}<br>
{{Weapon Data|{{{name}}}|crit|1}} / {{Weapon Data|{{{name}}}|crit|2}} / {{Weapon Data|{{{name}}}|crit|3}} / {{Weapon Data|{{{name}}}|crit|4}}<br>
<div style="font-weight:bold; color:rgb(234,226,176);">Range</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Range</div>
{{Weapon Data|{{{name}}}|range|1}} / {{Weapon Data|{{{name}}}|range|2}} / {{Weapon Data|{{{name}}}|range|3}} / {{Weapon Data|{{{name}}}|range|4}}<br>
{{Weapon Data|{{{name}}}|range|1}} / {{Weapon Data|{{{name}}}|range|2}} / {{Weapon Data|{{{name}}}|range|3}} / {{Weapon Data|{{{name}}}|range|4}}<br>
<div style="font-weight:bold; color:rgb(234,226,176);">Knockback</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Knockback</div>
{{Weapon Data|{{{name}}}|knockback|1}} / {{Weapon Data|{{{name}}}|knockback|2}} / {{Weapon Data|{{{name}}}|knockback|3}} / {{Weapon Data|{{{name}}}|knockback|4}}<br>
{{Weapon Data|{{{name}}}|knockback|1}} / {{Weapon Data|{{{name}}}|knockback|2}} / {{Weapon Data|{{{name}}}|knockback|3}} / {{Weapon Data|{{{name}}}|knockback|4}}<br>
<div style="font-weight:bold; color:rgb(234,226,176);">Lifesteal</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Lifesteal</div>
{{Weapon Data|{{{name}}}|lifesteal|1}} / {{Weapon Data|{{{name}}}|lifesteal|2}} / {{Weapon Data|{{{name}}}|lifesteal|3}} / {{Weapon Data|{{{name}}}|lifesteal|4}}<br>
{{Weapon Data|{{{name}}}|lifesteal|1}} / {{Weapon Data|{{{name}}}|lifesteal|2}} / {{Weapon Data|{{{name}}}|lifesteal|3}} / {{Weapon Data|{{{name}}}|lifesteal|4}}<br>
</div>
</div>
{{#if:{{{Weapon Data|{{{name}}}|special}}|
{{#if:{{Weapon Data|{{{name}}}|special}}|  
<div class="line"></div>
<div style="font-weight:bold; color:rgb(234,226,176);">Special effects:</div>
{{{Weapon Data|{{{name}}}|special}}
|}}
 
{{#if:{{{Weapon Data|{{{name}}}|unlockedby}}|  
<div class="line"></div>
<div class="line"></div>
<div style="font-weight:bold; color:rgb(234,226,176);">Unlocked by:</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Special effects:</div>
{{{Weapon Data|{{{name}}}|unlockedby}}
{{Weapon Data|{{{name}}}|special}}
|}}
| }}
</div>
{{#ifeq:{{Weapon Data|{{{name}}}|unlockedby}}|Default||
</includeonly>
<div class="line"></div>
<noinclude>
<div style="font-weight:bold; color:rgb(234,226,176);">Unlocked by:</div>
{{Weapon Data|{{{name}}}|unlockedby}}
}}
</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]] 5 (80%[[File:Elemental_damage.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
|stats=
'''Durability:''' 5 (80%[[File:melee.png|20px]]) 5 (80%[[File:ranged.png|20px]]) 5 (80%[[File:Elemental_damage.png|20px]])<br>
'''Critical:''' x2 (10% chance) <br>
'''Cooldown:''' 1.01s <br>
'''Range:''' 150 (Melee) <br>
'''Life Steal:''' %40 <br>
|Description=SAAA
}}{{Medical}}
}}{{Medical}}
{{Precise}}</pre>
{{Precise}}</pre>
results in...
results in...
{{Infobox Weapon
{{Infobox Weapon
|name=Scissors
|name=hatchet
|Type=Medical,Precise
|stats=
'''Durability:''' 5 (80%[[File:melee.png|20px]]) 5 (80%[[File:ranged.png|20px]]) 5 (80%[[File:Elemental_damage.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}}
}}{{Medical}}
{{Precise}}
{{Precise}}
</noinclude>
</noinclude>

Revision as of 07:45, 12 October 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
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