From Brotato Wiki

(Created page with "<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> <...")
 
No edit summary
Line 3: Line 3:
== 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.
<pre>{{Iconbox|Bone Sword|size=30px|caption=caption|amount=1}}
<pre>{{Iconbox|Acid|size=30px|caption=caption|amount=1}}
</pre>
</pre>


==Example==
==Example==


<pre>{{Iconbox|Bone Sword|size=30px|caption=caption}}</pre>
<pre>{{Iconbox|Acid|size=30px|caption=caption}}</pre>
results in...
results in...


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


==Example==
==Example==


<pre>{{Iconbox|Bone Sword|amount=1|caption=Bone Sword}}</pre>
<pre>{{Iconbox|Acid|amount=1|caption=Acid}}</pre>
results in...
results in...


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


==Example==
==Example==


<pre>{{Iconbox|Bone Sword}}</pre>
<pre>{{Iconbox|Acid}}</pre>
results in...
results in...


{{Iconbox|Bone Sword}}
{{Iconbox|Acid}}
==Example==
==Example==


<pre>{{Iconbox|Bone Sword|caption=no}}</pre>
<pre>{{Iconbox|Acid|caption=no}}</pre>
results in...
results in...


{{Iconbox|Bone Sword|caption=no}}
{{Iconbox|Acid|caption=no}}


<pre>{{Iconbox|Copper Mace|rarity=1|caption=no}}</pre>
<pre>{{Iconbox|Acid|rarity=1|caption=no}}</pre>
results in...
results in...


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


<pre>{{Iconbox|Iron Reaper|rarity=-1|amount=1|caption=no}}</pre>
<pre>{{Iconbox|Acid|rarity=-1|amount=1|caption=no}}</pre>
results in...
results in...


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


<pre>{{Iconbox|Sanguine Axes|rarity=0}}</pre>
<pre>{{Iconbox|Acid|rarity=0}}</pre>
results in...
results in...


{{Iconbox|Sanguine Axes|rarity=0}}
{{Iconbox|Acid|rarity=0}}
{{Iconbox|Acid|rarity=1}}
{{Iconbox|Acid|rarity=2}}
{{Iconbox|Acid|rarity=3}}
{{Iconbox|Acid|rarity=4}}
{{Iconbox|Acid|rarity=5}}




</noinclude>
</noinclude>

Revision as of 21:23, 4 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...


Example

{{Iconbox|Acid}}

results in...

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...