From V Rising Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="iconbox" style="width:{{{size|80px}}}!important;"><div class="rarity{{{rarity|}}} rounded relative">[[File:{{{image|{{{1}}}}}}.png|{{{size|60px}}}|link={{{1}}}|{{{1}}}]] | <includeonly><div class="iconbox" style="width:{{{size|80px}}}!important;"><div class="rarity{{{rarity|}}} rounded relative">[[File:{{{image|{{{1}}}}}}.png|{{{size|60px}}}|link={{{1}}}|{{{1}}}]] | ||
{{#if:{{{amount|}}}|<span class="iconamount">{{{amount}}}</span> | {{#if:{{{amount|}}}|<span class="iconamount">{{{amount}}}</span>|}}</div>{{#ifeq: {{{caption}}} | no | |{{#if:{{{caption|}}}|[[{{{1}}}|<strong>{{{caption}}}</strong>]]|[[{{{1}}}|<strong>{{{1}}}</strong>]]}}}}</div></includeonly> | ||
|}}</div>{{#ifeq: {{{caption}}} | no | |{{#if:{{{caption|}}}|[[{{{1}}}|<strong>{{{caption}}}</strong>]]|[[{{{1}}}|<strong>{{{1}}}</strong>]]}}}}</div></includeonly> | |||
<noinclude> | <noinclude> |
Revision as of 07:02, 8 July 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|Bone Sword|size=30px|caption=caption|amount=1}}
Example
{{Iconbox|Bone Sword|size=30px|caption=caption}}
results in...
Example
{{Iconbox|Bone Sword|amount=1|rarity=0|caption=Bone Sword}}
results in...
Example
{{Iconbox|Bone Sword}}
results in...
Example
{{Iconbox|Bone Sword|caption=no}}
results in...
{{Iconbox|Copper Mace|rarity=1|caption=no}}
results in...
{{Iconbox|Iron Reaper|rarity=2|amount=1|caption=no}}
results in...
{{Iconbox|Sanguine Axes|rarity=3}}
results in...