From Brotato Wiki

No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="iconbox" style="width:{{{size|80px}}}!important;"><div class="rarity{{{rarity|{{Rarity|{{{1}}}}}}}} rounded relative">[[File:{{{image|{{{1}}}}}}.png|{{{size|60px}}}|link={{{1}}}|{{{1}}}]]{{#if:{{{amount|}}}|<span class="iconamount">{{{amount}}}</span>|}}</div>{{#if:{{{top|}}}|{{{top}}}<br>|}}{{#ifeq: {{{caption}}} | no | |{{#if:{{{caption|}}}|[[{{{1}}}|<strong>{{{caption}}}</strong>]]|[[{{{1}}}|<strong>{{{1}}}</strong>]]}}}}</div></includeonly><noinclude>
<includeonly><div class="iconbox" style="display:inline-block;width:{{{size|80px}}}!important;"><div class="rarity{{{rarity|{{Rarity|{{{1}}}}}}}} rounded relative">[[File:{{{image|{{{1}}}}}}.png|{{{size|60px}}}|link={{{1}}}|{{{1}}}]]{{#if:{{{amount|}}}|<span class="iconamount">{{{amount}}}</span>|}}</div>{{#if:{{{top|}}}|{{{top}}}<br>|}}{{#ifeq: {{{caption}}} | no | |{{#if:{{{caption|}}}|[[{{{1}}}|<strong>{{{caption}}}</strong>]]|[[{{{1}}}|<strong>{{{1}}}</strong>]]}}}}</div></includeonly><noinclude>
== Usage ==
== Usage ==
This template can 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 be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

Revision as of 15:51, 5 October 2022

Usage

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Iconbox|Acid|size=30px|caption=caption|amount=1}}

Example

{{Iconbox|Acid|size=30px|caption=caption}}

results in...

Example

{{Iconbox|Acid|amount=1|caption=Acid}}

results in...

asd

Example

{{Iconbox|Acid}}

results in...

ASD SADASD SA

Example

{{Iconbox|Acid|caption=no}}

results in...

Acid
{{Iconbox|Acid|rarity=1|caption=no}}

results in...

Acid
{{Iconbox|Acid|rarity=-1|amount=1|caption=no}}

results in...

Acid1
{{Iconbox|Acid|rarity=0}}

results in...