From Brotato Wiki
(Created page with "<includeonly> <div class="itembox" style="float:right;width:90%;max-width:400px;"> <div class="itemboxheader"> <div style="float:left"> {{Iconbox|{{{name}}}|caption=no|size=100px}} </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 class="bold colorrarity{{{tier}}}" style="margin-top:0px!important;font-size:22px;">{{...") |
(use `nolink=1` on the icon, so it can be clicked to view the larger image) |
||
(12 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|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{{{ | <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> | <div style="color:rgb(234,226,176)">Item</div> | ||
<div class="bold colorrarity{{Item Data|{{{name}}}|rarity}}">Tier {{Item Data|{{{name}}}|rarity}}</div> | |||
<div class="bold colorrarity{{{ | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="line"></div> | <div class="line"></div> | ||
<div class="stats-container"> | <div class="stats-container"> | ||
<div style=" | <!-- Stats --> | ||
<div style="padding: 10px 0; clear: both;"> | |||
<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> | ||
<div style=" | <!-- 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> | </div> | ||
<!-- Limit --> | |||
|}} | {{#if:{{Item Data|{{{name}}}|limit}}| | ||
{{#if:{{{ | <div style="padding: 10px 0; clear: both;"> | ||
<div | <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> | |||
</div></includeonly> | |||
</div> | |||
</div> | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
== Usage == | == 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. | 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. | ||
<pre>{{Infobox Item | <pre>{{Infobox Item | ||
|name= | |name=Acid | ||
}} | }} | ||
</pre> | </pre> | ||
Line 88: | Line 55: | ||
==Example== | ==Example== | ||
<pre>{{Infobox Item | <pre> | ||
|name= | {{Infobox Item | ||
|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