Template:Rarity: Difference between revisions

From Archon Arcana - The KeyForge Wiki
Added Token Rarity
(Created page with "{{#if:{{{House}}}|File:{{#switch:{{{Rarity}}}|Common=Rarity-common.png|Uncommon=Rarity-uncommon.png|Rare=Rarity-rare.png|Special=Rarity-special.png}}|{{#switch:{{{Size}}}|24...")
 
(Added Token Rarity)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if:{{{House}}}|[[File:{{#switch:{{{Rarity}}}|Common=Rarity-common.png|Uncommon=Rarity-uncommon.png|Rare=Rarity-rare.png|Special=Rarity-special.png}}|{{#switch:{{{Size}}}|24px=24px|23px=23px|22px=22px|21px=21px|20px=20px|19px=19px|18px=18px|17px=17px|16px=16px|15px=15px|25px}}|frameless|link=]]|}}
<noinclude>
==Description==
This template displays the rarity symbol for a specific card rarity, such as {{Rarity|Rarity=Special}}. The image has no link and appears in-line with text.
 
==How to Use==
:|Rarity=''choose a rarity'' (valid options: Common, Uncommon, Rare, Special, Fixed, Variant, Evil Twin, Token)
:|Size=''choose a specific pixel size'' (optional; valid options: 15px-24px; default option: 25px)
 
==Examples==
{{Rarity|Rarity=Special}}{{Rarity|Rarity=Common}}{{Rarity|Rarity=Uncommon}}{{Rarity|Rarity=Rare}}{{Rarity|Rarity=Evil Twin}}{{Rarity|Rarity=Token}}
 
 
</noinclude>[[File:{{#switch:{{{Rarity}}}|Common=Rarity-common.png|Uncommon=Rarity-uncommon.png|Rare=Rarity-rare.png|Special=Rarity-special.png|Fixed=Rarity-special.png|Variant=Rarity-special.png|Evil Twin=Evil-twin.png|Token=Rarity-token.png}}|alt={{{Rarity}}} icon|{{#switch:{{{Size}}}|24px=24px|23px=23px|22px=22px|21px=21px|20px=20px|19px=19px|18px=18px|17px=17px|16px=16px|15px=15px|25px}}|frameless|link=]]