Difference between revisions of "Template:Rarity icon lineup"

From mtgpq wiki
Jump to: navigation, search
Line 17: Line 17:
 
[[Category:Symbol templates]]
 
[[Category:Symbol templates]]
  
</noinclude><includeonly>'''<!--
+
</noinclude><includeonly>{| style="padding: 0px; border-spacing: 0px"
-->{{#ifeq:{{{1}}}|C|{{!}}{{Rarity|C|18}}{{!}}|{{Rarity|C|12}}}}<!--
+
| {{#ifeq:{{{1}}}|C|style="border: 1px solid #999"}} | {{Rarity|C|{{#ifeq:{{{1}}}|C|19|12}}}}
-->{{#ifeq:{{{1}}}|U|{{!}}{{Rarity|U|18}}{{!}}|{{Rarity|U|12}}}}<!--
+
| {{#ifeq:{{{1}}}|U|style="border: 1px solid #999"}} | {{Rarity|U|{{#ifeq:{{{1}}}|U|19|12}}}}
-->{{#ifeq:{{{1}}}|R|{{!}}{{Rarity|R|18}}{{!}}|{{Rarity|R|12}}}}<!--
+
| {{#ifeq:{{{1}}}|R|style="border: 1px solid"}} | {{Rarity|R|{{#ifeq:{{{1}}}|R|19|12}}}}
-->{{#ifeq:{{{1}}}|M|{{!}}{{Rarity|M|18}}{{!}}|{{Rarity|M|12}}}}<!--
+
| {{#ifeq:{{{1}}}|M|style="border: 1px solid"}} | {{Rarity|M|{{#ifeq:{{{1}}}|M|19|12}}}}
-->{{#ifeq:{{{1}}}|MP|{{!}}{{Rarity|MP|18}}{{!}}|{{Rarity|MP|12}}}}<!--
+
| {{#ifeq:{{{1}}}|MP|style="border: 1px solid"}}| {{Rarity|MP|{{#ifeq:{{{1}}}|MP|19|12}}}}
-->'''</includeonly>
+
|}</includeonly>

Revision as of 10:24, 19 April 2020

Usage

Produces a line-up of all rarity icons, with the specified rarity larger and emphasised.

The only parameter is the one or two-letter abbreviation of the rarity.

Example

This shorthand:

{{Rarity icon lineup|U}}

Produces: Common|Uncommon|RareMythicMasterpiece