|
|
(24 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <includeonly><div class="iconbox" style="width:{{{size|80px}}}" >[[File:{{{image|{{{1}}}}}}.png|{{{size|60px}}}|link={{{1}}}|{{{1}}}]]{{#if:{{{amount|}}}|<br><strong>{{{amount}}}</strong>|}}{{#ifeq: {{{caption}}} | no | |{{#if:{{{caption|}}}|<br>[[{{{1}}}|<strong>{{{caption}}}</strong>]]|<br>[[{{{1}}}|<strong>{{{1}}}</strong>]]}}}}</div></includeonly> | | <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> | | <noinclude> |
| == Usage == | | == Usage == |
Line 15: |
Line 15: |
| ==Example== | | ==Example== |
|
| |
|
| <pre>{{Iconbox|Bone Sword|amount=1x|caption=Bone Sword}}</pre> | | <pre>{{Iconbox|Bone Sword|amount=1|caption=Bone Sword}}</pre> |
| results in... | | results in... |
|
| |
|
| {{Iconbox|Bone Sword|amount=1x|caption=Bone Sword}} | | {{Iconbox|Bone Sword|amount=1|caption=Bone Sword}} |
|
| |
|
| ==Example== | | ==Example== |
Line 33: |
Line 33: |
| {{Iconbox|Bone Sword|caption=no}} | | {{Iconbox|Bone Sword|caption=no}} |
|
| |
|
| TODO:
| | <pre>{{Iconbox|Copper Mace|rarity=1|caption=no}}</pre> |
| | results in... |
|
| |
|
| <div class="iconbox rarity0">
| | {{Iconbox|Copper Mace|caption=no}} |
| <span>400</span>
| |
| [[File:Bone.png|60px|link=Bone|]]
| |
| </div>
| |
|
| |
|
| <div style="position: relative;vertical-align:top;text-align:center;display: inline-block;max-width:%75; border:1px solid rgba(200, 200, 200);background:linear-gradient(360deg, rgba(200, 200, 200,.5),rgba(0,0,0,.5));"> | | <pre>{{Iconbox|Iron Reaper|rarity=-1|amount=1|caption=no}}</pre> |
| <span style="position:absolute;bottom:2px;right:2px;font-color:#eee;font-size:150%;text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">400</span>
| | results in... |
| [[File:Bone.png|60px|link=Bone|]]
| |
| </div> | |
|
| |
|
| <div style="position: relative;vertical-align:top;text-align:center;display: inline-block;max-width:%75; border:1px solid rgba(7, 192, 47);background:linear-gradient(360deg, rgba(7, 192, 47,.5),rgba(0,0,0,.5));">
| | {{Iconbox|Iron Reaper|rarity=-1|amount=1|caption=no}} |
| <span style="position:absolute;bottom:2px;right:2px;font-color:#eee;font-size:150%;text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">2</span>
| |
| [[File:Plank.png|60px|link=Plank|]]
| |
| </div>
| |
|
| |
|
| <div style="position: relative;vertical-align:top;text-align:center;display: inline-block;max-width:%75; border:1px solid rgba(0, 203, 233);background:linear-gradient(360deg, rgba(0, 203, 233,.5),rgba(0,0,0,.5));"> | | <pre>{{Iconbox|Sanguine Axes|rarity=0}}</pre> |
| <span style="position:absolute;bottom:2px;right:2px;font-color:#eee;font-size:150%;text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">2</span>
| | results in... |
| [[File:Iron Ingot.png|60px|link=Iron Ingot|]]
| |
| </div>
| |
| | |
| <div style="position: relative;vertical-align:top;text-align:center;display: inline-block;max-width:%75; border:1px solid rgba(255, 22, 247);background:linear-gradient(360deg, rgba(255, 22, 247,.5),rgba(0,0,0,.5));">
| |
| <span style="position:absolute;bottom:2px;right:2px;font-color:#eee;font-size:150%;font-weight:700;text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">1</span>
| |
| [[File:Amethyst Pendant.png|60px|link=Amethyst Pendant|]]
| |
| </div>
| |
| | |
| <div style="position: relative;vertical-align:top;text-align:center;display: inline-block;max-width:%75; border:1px solid #fd7e14; background:linear-gradient(360deg, rgba(253, 126, 20,0.5),rgba(0,0,0,.5));">
| |
| <span style="position:absolute;bottom:2px;right:2px;font-color:#eee;font-size:150%;font-weight:700;text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">2</span>
| |
| [[File:Sanguine Axes.png|60px|link=Sanguine Axes|]]
| |
| </div>
| |
|
| |
|
| {{Iconbox|Merciless Nightstalker Vest}} | | {{Iconbox|Sanguine Axes|rarity=0}} |
|
| |
|
|
| |
|
| </noinclude> | | </noinclude> |
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|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=-1|amount=1|caption=no}}
results in...
1
{{Iconbox|Sanguine Axes|rarity=0}}
results in...