From Brotato Wiki

No edit summary
(use `nolink=1` on the icon, so it can be clicked to view the larger image)
 
(8 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={{Rarity|{{{rarity}}}}}|size=100px}}
{{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{{{tier}}}" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div>
<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>Item</div>
<div style="color:rgb(234,226,176)">Item</div>
                {{#if:{{{tier|}}}|
<div class="bold colorrarity{{Item Data|{{{name}}}|rarity}}">Tier {{Item Data|{{{name}}}|rarity}}</div>
<div class="bold colorrarity{{Rarity|{{{rarity}}}}}">{{{rarity}}}</div>|}}
</div>
</div>
</div>
</div>
</div>
</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(212,175,55);">Stats</div>
<!-- Stats -->
{{{stats}}}
<div style="padding: 10px 0; clear: both;">
</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>
</div>
</div>
</includeonly>
<!-- Price -->
<div style="padding: 10px 0; clear: both;">
<div style="float: left; width: 30%;font-weight:bold; color:rgb(234,226,176);">Price</div>
<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>{{Item Data|{{{name}}}|limit}}</div>
</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 29: Line 50:
<pre>{{Infobox Item  
<pre>{{Infobox Item  
|name=Acid
|name=Acid
|rarity=Uncommon
|stats='''+8''' Max HP<br>
'''+4%'''Dodge<br>
}}
}}
</pre>
</pre>
Line 39: Line 57:
<pre>
<pre>
{{Infobox Item  
{{Infobox Item  
|name=Acid
|name=Potato
|rarity=Uncommon
|stats='''+8''' Max HP<br>
'''+4%'''Dodge<br>
}}</pre>
}}</pre>
results in...
results in...
{{Infobox Item  
{{Infobox Item  
|rarity=Acid
|name=Potato
|tier=2
|stats='''+8''' Max HP<br>
'''+4%'''Dodge<br>
}}
}}
</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...

Potato.png
Potato
Item
Tier 4
Stats
+3 Max HP
+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.png Well Rounded