From Brotato Wiki

No edit summary
No edit summary
Line 8: Line 8:
<div class="bold colorrarity{{Rarity|{{{rarity}}}}}" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div>
<div class="bold colorrarity{{Rarity|{{{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:{{{rarity|}}}|
                 {{#if:{{{rarity|}}}|
<div class="bold colorrarity{{Rarity|{{{rarity}}}}}">{{{rarity}}}</div>|}}
<div class="bold colorrarity{{Rarity|{{{rarity}}}}}">{{{rarity}}}</div>|}}
Line 18: Line 18:
<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>
<div style="font-weight:bold; color:rgb(234,226,176);">Stats</div>
{{{stats}}}
{{{stats}}}
</div>
</div>

Revision as of 21:46, 4 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
|rarity=Uncommon
|stats='''+8''' Max HP<br>
'''+4%'''Dodge<br>
}}

Example

{{Infobox Item 
|name=Acid
|rarity=Uncommon
|stats='''+8''' Max HP<br>
'''+4%'''Dodge<br>
}}

results in...

Acid
Acid
Item
Uncommon
Stats

+8 Max HP
+4%Dodge