From Brotato Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<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={{Rarity|{{{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 10: | Line 10: | ||
<div>Item</div> | <div>Item</div> | ||
{{#if:{{{tier|}}}| | {{#if:{{{tier|}}}| | ||
<div class="bold colorrarity{{{ | <div class="bold colorrarity{{Rarity|{{{rarity}}}}}">{{{rarity}}}</div>|}} | ||
</div> | </div> | ||
</div> | </div> | ||
Line 28: | Line 28: | ||
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 | ||
| | |rarity=Uncommon | ||
|stats='''+8''' Max HP<br> | |||
'''+4%'''Dodge<br> | |||
|stats='''+ | |||
}} | }} | ||
</pre> | </pre> | ||
Line 43: | Line 37: | ||
==Example== | ==Example== | ||
<pre>{{Infobox Item | <pre> | ||
|name= | {{Infobox Item | ||
|name=Acid | |||
|rarity=Uncommon | |||
| | |stats='''+8''' Max HP<br> | ||
'''+4%'''Dodge<br> | |||
|stats='''+ | |||
}}</pre> | }}</pre> | ||
results in... | results in... | ||
{{Infobox Item | {{Infobox Item | ||
| | |rarity=Acid | ||
|tier= | |tier=2 | ||
|stats='''+8''' Max HP<br> | |stats='''+8''' Max HP<br> | ||
'''+4%'''Dodge<br> | '''+4%'''Dodge<br> | ||
}} | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 21:34, 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...
[[File:{{{name}}}.png|100px|link={{{name}}}|{{{name}}}]]
{{{name}}}
Item
Acid
Stats
+8 Max HP
+4%Dodge