Template:Rarity: Difference between revisions

From Archon Arcana - The KeyForge Wiki
No edit summary
No edit summary
Line 4: Line 4:


==How to Use==
==How to Use==
:|Rarity=''choose a rarity'' (valid options: Common, Uncommon, Rare, Special, Fixed, Variant)
:|Rarity=''choose a rarity'' (valid options: Common, Uncommon, Rare, Special, Fixed, Variant, Evil Twin)
:|Size=''choose a specific pixel size'' (optional; valid options: 15px-24px; default option: 25px)
:|Size=''choose a specific pixel size'' (optional; valid options: 15px-24px; default option: 25px)


==Examples==
==Examples==
{{Rarity|Rarity=Special}}{{Rarity|Rarity=Common}}{{Rarity|Rarity=Uncommon}}{{Rarity|Rarity=Rare}}
{{Rarity|Rarity=Special}}{{Rarity|Rarity=Common}}{{Rarity|Rarity=Uncommon}}{{Rarity|Rarity=Rare}}{{Rarity|Rarity=Evil Twin}}




</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}}|{{#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>[[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}}|{{#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=]]

Revision as of 16:42, 30 July 2020

Description

This template displays the rarity symbol for a specific card rarity, such as Rarity-special.png. 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)
|Size=choose a specific pixel size (optional; valid options: 15px-24px; default option: 25px)

Examples

Rarity-special.pngRarity-common.pngRarity-uncommon.pngRarity-rare.pngEvil-twin.png


[[File:|25px|frameless|link=]]