Changes

Jump to: navigation, search

Template:Rarity

286 bytes added, 04:02, 9 February 2019
no edit summary
Produce a rarity icon.
* The first parameter is one of C, U, R, M, or MP.* The second parameter (optional) is a number specifying the icon height. (Default: 16)
==Example==
This mark-up:
<pre><nowiki>
{{Rarity|C|12}} {{Rarity|U|16}} {{Rarity|R|20}} {{Rarity|M|24}} {{Rarity|MP}}
</nowiki></pre>
Produces:
{{Rarity|C|12}} {{Rarity|U|16}} {{Rarity|R|20}} {{Rarity|M|24}} {{Rarity|MP}}</noinclude><includeonly>[[File:rarity-{{{1}}}.png|{{#if:{{{2|}}}|x{{{2}}}px|x16px}}|{{#ifeq:{{{1}}}|C|Common|{{#ifeq:{{{1}}}|U|Uncommon|{{#ifeq:{{{1}}}|R|Rare|{{#ifeq:{{{1}}}|M|Mythic|{{#ifeq:{{{1}}}|MP|Masterpiece}}}}}}}}}}|link=Card pack#Rarities]]</includeonly>

Navigation menu