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"> | ||
{{Iconbox|{{{name}}}|caption=no|rarity={{Item Data| | {{Iconbox|{{{name}}}|caption=no|rarity={{Item Data|{{{name}}}|rarity}}|size=100px}} | ||
</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;"> | ||
Line 9: | Line 8: | ||
<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> | <div style="font-weight:bold; color:rgb(234,226,176);">Stats</div> | ||
{{Item Data| | {{Item Data|{{{name}}}|stats}} | ||
<div style="font-weight:bold; color:rgb(234,226,176);">Price</div> | <div style="font-weight:bold; color:rgb(234,226,176);">Price</div> | ||
{{Item Data| | {{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}}|}} | ||
{{#if:{{Item Data|{{{name}}}|limit}}| | |||
{{#if:{{Item Data|{{{name}}}|unlockedby}}| | |||
</div> | </div> | ||
</div></includeonly> | |||
</div> | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Line 38: | Line 25: | ||
<pre>{{Infobox Item | <pre>{{Infobox Item | ||
|name=Acid | |name=Acid | ||
}} | }} | ||
</pre> | </pre> | ||
Line 49: | Line 33: | ||
{{Infobox Item | {{Infobox Item | ||
|name=Acid | |name=Acid | ||
}}</pre> | }}</pre> | ||
results in... | results in... | ||
{{Infobox Item | {{Infobox Item | ||
|name=Acid | |name=Acid | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 15:19, 13 October 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=Acid }}
results in...