From Brotato Wiki
(Add comments to break up the structure for improved readability when editing) |
(Restore min-width (I meant to remove it in a subsequent edit, not the previous one)) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class="iconbox" style="display:inline-block;"><!-- | --><div class="iconbox" style="display:inline-block;width:{{{size|80px}}}!important;"><!-- | ||
--><div class="rarity{{{rarity|{{Rarity|{{{1}}}}}}}} rounded relative"><!-- | --><div class="rarity{{{rarity|{{Rarity|{{{1}}}}}}}} rounded relative"><!-- | ||
-->[[File:{{{image|{{{1}}}}}}.png|{{{size|60px}}}|link={{{1}}}|{{{1}}}]]<!-- | -->[[File:{{{image|{{{1}}}}}}.png|{{{size|60px}}}|link={{{1}}}|{{{1}}}]]<!-- |
Revision as of 20:50, 6 November 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|rarity=1}}
Examples
Code | Preview |
---|---|
{{Iconbox|Acid}}
|
|
{{Iconbox|Acid|amount=1}}
|
|
{{Iconbox|Acid|caption=Foobar}}
|
|
{{Iconbox|Acid|caption=no}}
|
|
{{Iconbox|Acid|top=Foobar}}
|
|
{{Iconbox|Acid|rarity=-1}}
|
|
{{Iconbox|Acid|size=30px}}
|
|