From Brotato Wiki
No edit summary |
(use `nolink=1` on the icon, so it can be clicked to view the larger image) |
||
(4 intermediate revisions by 2 users not shown) | |||
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"> | ||
{{Iconbox|{{{name}}}|caption=no|rarity={{Item Data| | {{Iconbox|{{{name}}}|caption=no|rarity={{Item 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 colorrarity{{ | <div class="bold colorrarity{{Item 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)">Item</div> | <div style="color:rgb(234,226,176)">Item</div> | ||
<div class="bold colorrarity{{Item Data| | <div class="bold colorrarity{{Item Data|{{{name}}}|rarity}}">Tier {{Item Data|{{{name}}}|rarity}}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<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> | <!-- Stats --> | ||
<div style="padding: 10px 0; clear: both;"> | |||
<div style="font-weight:bold; color:rgb(234,226,176);">Price</div> | <div style="float: left; width: 30%;font-weight:bold; color:rgb(234,226,176);">Stats</div> | ||
<div style="float: left; width: 70%;>{{Item Data|{{{name}}}|stats}}</div> | |||
{{#if:{{Item Data|{{{name}}}|limit}}| | </div> | ||
<!-- Price --> | |||
<div style="padding: 10px 0; clear: both;"> | |||
<div style="float: left; width: 30%;font-weight:bold; color:rgb(234,226,176);">Price</div> | |||
{{#if:{{Item Data|{{{name}}}|unlockedby}}| | <div>{{Item Data|{{{name}}}|price}}</div> | ||
</div> | |||
<!-- Limit --> | |||
{{#if:{{Item Data|{{{name}}}|limit}}| | |||
<div style="padding: 10px 0; clear: both;"> | |||
|}} | <div style="float: left; width: 30%;font-weight:bold; color:rgb(234,226,176);">Limit</div> | ||
</div> | <div>{{Item Data|{{{name}}}|limit}}</div> | ||
</includeonly> | </div><!-- | ||
-->|}} | |||
<!-- Unlocked By --> | |||
{{#if:{{Item Data|{{{name}}}|unlockedby}}| | |||
<div style="padding: 10px 0; clear: both;"> | |||
<div style="float: left; width: 30%;font-weight:bold; color:rgb(234,226,176);">Unlocked by</div> | |||
<div style="float: left; width: 70%;">{{Item Data|{{{name}}}|unlockedby}}</div> | |||
</div><!-- | |||
-->|}} | |||
<!-- Item Tags --> | |||
<div style="padding: 10px 0; clear: both;"> | |||
<div style="float: left; width: 30%;font-weight:bold; color:rgb(234,226,176);">[[Items#Item_Tags|Tags]]</div> | |||
<div style="float: left; width: 70%;">{{Item Data|{{{name}}}|tags}}</div> | |||
</div> | |||
</div> | |||
</div></includeonly> | |||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Line 38: | Line 50: | ||
<pre>{{Infobox Item | <pre>{{Infobox Item | ||
|name=Acid | |name=Acid | ||
}} | }} | ||
</pre> | </pre> | ||
Line 48: | Line 57: | ||
<pre> | <pre> | ||
{{Infobox Item | {{Infobox Item | ||
|name= | |name=Potato | ||
}}</pre> | }}</pre> | ||
results in... | results in... | ||
{{Infobox Item | {{Infobox Item | ||
|name= | |name=Potato | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:25, 16 December 2022
Usage
This template can \\n //n 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 Item |name=Acid }}
Example
{{Infobox Item |name=Potato }}
results in...
Stats
+3 Max HP
+2 HP Regeneration
+1 % Life Steal
+5 % Damage
+5 % Attack Speed
+3 % Speed
+3 % Dodge
+1 Armor
+5 Luck
+2 HP Regeneration
+1 % Life Steal
+5 % Damage
+5 % Attack Speed
+3 % Speed
+3 % Dodge
+1 Armor
+5 Luck
Price
95
Unlocked by
Win a run with Well Rounded