From Brotato Wiki

No edit summary
(use `nolink=1` on the icon, so it can be clicked to view the larger image)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<div class="itemboxheader">
<div class="itemboxheader">
<div style="float:left">
<div style="float:left">
{{Iconbox|{{{name}}}|caption=no|rarity={{Item Data|{{{name}}}|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{{Rarity|{{{rarity}}}}}" 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 style="color:rgb(234,226,176)">Item</div>
<div style="color:rgb(234,226,176)">Item</div>
Line 14: 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);">Stats</div>
<!-- Stats -->
{{Item Data|{{{name}}}|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>
{{Item Data|{{{name}}}|price}}{{#if:{{Item Data|{{{name}}}|limit}}|<div style="font-weight:bold; color:rgb(234,226,176);">Limit:</div>{{Item Data|{{{name}}}|limit}}|}}{{#if:{{Item Data|{{{name}}}|unlockedby}}|<div style="font-weight:bold; color:rgb(234,226,176);">Unlocked by:</div>{{Item Data|{{{name}}}|unlockedby}}|}}
<div style="float: left; width: 70%;>{{Item Data|{{{name}}}|stats}}</div>
</div>
</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>
<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>
</div></includeonly>
<noinclude>
<noinclude>
Line 32: Line 57:
<pre>
<pre>
{{Infobox Item  
{{Infobox Item  
|name=Acid
|name=Potato
}}</pre>
}}</pre>
results in...
results in...
{{Infobox Item  
{{Infobox Item  
|name=Acid
|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...

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