|
|
Line 1: |
Line 1: |
| <includeonly><!-- | | <includeonly><div class="iconbox" style="width:{{{size|80px}}}!important;"><div class="rarity{{{rarity|{{Rarity|{{{1}}}}}}}} rounded relative">[[File:{{{image|{{{1}}}}}}.webp|{{{size|75px}}}|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> |
| --><div class="iconbox" style="display:inline-block;{{#if:{{{maxwidth|}}}|max-width:{{{maxwidth}}}|max-width:initial;}}"><!--
| | <noinclude> |
| ICON
| |
| --><div class="rarity<!--
| |
| -->{{#ifeq:{{{rarity|}}}|auto|{{GetRarity|{{{name|{{{1|}}}}}}}}|{{{rarity|{{Rarity|{{{name|{{{1|}}}}}}}}}}}}}<!--
| |
| --> rounded relative"><!--
| |
| IMAGE
| |
| -->{{#ifeq:{{{nolink|}}}|1|<!--
| |
| No image link:
| |
| -->[[File:{{{image|{{{name|{{{1|}}}}}}}}}.webp|{{{size|75px}}}]]|<!--
| |
| Has image link:
| |
| -->[[File:{{{image|{{{name|{{{1|}}}}}}}}}.webp|{{{size|75px}}}|link={{{name|{{{1|}}}}}}|{{{name|{{{1|}}}}}}]]<!--
| |
| -->}}<!--
| |
| AMOUNT
| |
| -->{{#if:{{{amount|}}}|<!--
| |
| --><span class="iconamount">{{{amount}}}</span><!--
| |
| -->|}}<!--
| |
| --></div><!--
| |
| TOP
| |
| -->{{#if:{{{top|}}}|<!--
| |
| -->{{#ifeq:{{{nobr}}}|1|<!--empty space (nobr)--> |<br>}}<!--
| |
| -->{{{top}}}<!--
| |
| -->|}}<!--
| |
| CAPTION
| |
| -->{{#ifeq:{{{caption}}}|no|<!--no caption-->|<!--
| |
| -->{{#ifeq:{{{nobr}}}|1|<!--empty space (nobr)--> |<br>}}<!--
| |
| -->{{#ifeq:{{{nolink|}}}|1|<!--
| |
| LINK: No
| |
| -->{{#if:{{{caption|}}}|<!--
| |
| CAPTION: Custom
| |
| --><strong>{{{caption}}}</strong><!--
| |
| -->|<!--
| |
| CAPTION: Auto
| |
| --><strong>{{{name|{{{1|}}}}}}</strong><!--
| |
| -->}}<!--
| |
| -->|<!--
| |
| LINK: Yes
| |
| -->{{#if:{{{caption|}}}|<!--
| |
| CAPTION: Custom
| |
| -->[[{{{name|{{{1|}}}}}}|<strong>{{{caption}}}</strong>]]<!--
| |
| -->|<!--
| |
| CAPTION: Auto
| |
| -->[[{{{name|{{{1|}}}}}}|<strong>{{{name|{{{1|}}}}}}</strong>]]<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| --></includeonly><noinclude>
| |
|
| |
|
|
| |
|
Latest revision as of 21:40, 13 December 2022
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|Kenny|size=75px|caption=Kenny}}
results in...
{{{Iconbox|Kenny}}
results in...