Template:Rarity: Difference between revisions
From Archon Arcana - The KeyForge Wiki
Coffeesaga (talk | contribs) mNo edit summary |
Blinkingline (talk | contribs) (Added Token Rarity) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
==How to Use== | ==How to Use== | ||
:|Rarity=''choose a rarity'' (valid options: Common, Uncommon, Rare, Special) | :|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) | :|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=]] |
Latest revision as of 13:01, 29 June 2022
Description
This template displays the rarity symbol for a specific card rarity, such as . 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
[[File:|alt={{{Rarity}}} icon|25px|frameless|link=]]