Changes

Template:Icon

258 bytes added, 22 June
m
no edit summary
<!--Currency-->
| currency = {{#switch:{{{2|}}}
|gold = [[File:Gold Icon.png|18px]] Gold |medal = [[File:Defender Medal Icon.png|18px]] Medals |gem = [[File:Gem Icon.png|18px]] Gems
}}
<!--rarity-->
|legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span>
|godly = <span style="color:#40E0D0"> [[File:Godly Icon.png|18px]] Godly </span>
|ancient = <span style="color:#FF0038DD1F13"> [[File:Godly Ancient Icon.png|18px]] Ancient </span>}}<!--checkbox-->| checkbox = {{#switch:{{{2|}}} |yes = [[File:TickGreen.png]] |no = [[File:CrossWhite.png]]
}}
}}<!--
--><noinclude>
{| style="text-align: center; width:5075%;"
|-
|
'''Usage:''' <br> <code><nowiki>{{</nowiki>Icon|''inputcategory''|''sizetype''<nowiki>}}</nowiki></code>
||
'''Example:''' <br> <code><nowiki>{{</nowiki>Icon|Powerfulrarity|30pxpowerful<nowiki>}}</nowiki></code>
|}
* Size is optional. The Current default size will always be '''18px'''.
* Accepted inputs are not case-sensitive. But for consistency, probably best to stick to having the first letter of each input in upper-case.
* Only the rarity category will automatically have the wording beside their respective icons.
=== Available Inputs ===
{| class="wikitable" style="width:5075%;"
|-
! Currency !! Rarity!! Checkbox
|-
|style="vertical-align: top; width:25%;"|{{Icon|A = currency|gold}} Gold {{Icon|currency|medal}} GoldDefender Medal
{{Icon|A currency|gem}} Gem|style= Medal"vertical-align: top;width:25%;"|{{Icon|rarity|30pxworn}} Medal
{{Icon|A = Gemrarity|30pxsturdy}} Gem|style="vertical-align: top;"|{{Icon|B = Worn|30px}} Worn
{{Icon|B = Sturdyrarity|30pxpowerful}} Sturdy
{{Icon|B = Powerfulrarity|30pxepic}} Powerful
{{Icon|B = Epicrarity|30pxmythical}} Epic
{{Icon|B = Mythicalrarity|30pxlegendary}} Mythical
{{Icon|B =Legendaryrarity|30pxgodly}} Legendary
{{Icon|B rarity|ancient}}|style= Godly"vertical-align: top; width:25%;"|{{Icon|checkbox|30pxyes}} GodlyYes
{{Icon|B = Ancientcheckbox|30pxno}} AncientNo
|}
__NOEDITSECTION__
</noinclude>
WikiDefender
8,299
edits