Open main menu

mtgpq wiki β

Changes

Help:Icons and templates

3,828 bytes added, 11:19, 11 March 2019
Created page with " This page describes shorthand for commonly used icons and symbols you may wish to include in your edits. All of these symbols can be used inline with text. ==Mana symbols==..."

This page describes shorthand for commonly used icons and symbols you may wish to include in your edits. All of these symbols can be used inline with text.

==Mana symbols==
A single mana icon (or colorless mana) is produced by double-curly braces around a letter:
{| class="wikitable"
| <code><nowiki>{{U}}</nowiki></code>
| {{U}}
|}

{| class="wikitable"
| <code><nowiki>{{W}}, {{U}}, {{B}}, {{R}}, {{G}}, {{C}}</nowiki></code>
| {{W}}, {{U}}, {{B}}, {{R}}, {{G}}, {{C}}
|}

When you want to show multiple color icons together, you can alternatively use the '''<code><nowiki>{{Color Icons}}</nowiki></code>''' template:

{| class="wikitable"
| <code><nowiki>{{Color Icons|URG}}</nowiki></code>
| {{Color Icons|URG}}
|}

==Resources==
The '''<code><nowiki>{{Runes}}</nowiki></code>''', '''<code><nowiki>{{Crystals}}</nowiki></code>''', '''<code><nowiki>{{Jewels}}</nowiki></code>''', and '''<code><nowiki>{{Orbs}}</nowiki></code>''' templates produce the corresponding icon:
{| class="wikitable"
| <code><nowiki>{{Runes}}, {{Crystals}}, {{Jewels}}, {{Orbs}}</nowiki></code>
| {{Runes}}, {{Crystals}}, {{Jewels}}, {{Orbs}}
|}

In each case, a number can optionally be passed to the template, to indicate the amount of resources:
{| class="wikitable"
| <code><nowiki>{{Crystals|20}}</nowiki></code>
| {{Crystals|20}}
|}

Sometimes you want to show amounts of runes, crystals, and jewels together. You can use the '''<code><nowiki>{{RCJ}}</nowiki></code>''' template for this:
{| class="wikitable"
| <code><nowiki>{{RCJ|2,000|120|150}}</nowiki></code>
| {{RCJ|2,000|120|150}}
|}
{| class="wikitable"
| <code><nowiki>{{RCJ|100||20}}</nowiki></code>
| {{RCJ|100||20}}
|}

== Expansion sets ==
The symbol for an expansion set can be produced passing by the three-letter set abbreviation to the '''<code><nowiki>{{SetSymbol}}</nowiki></code>''' template:
{| class="wikitable"
| <code><nowiki>{{SetSymbol|ORI}}</nowiki></code><br><code><nowiki>{{SetSymbol|XLN}}</nowiki></code><br><code><nowiki>{{SetSymbol|ZVE}}</nowiki></code>
| {{SetSymbol|ORI}}<br>{{SetSymbol|XLN}}<br>{{SetSymbol|ZVE}}
|}

== Card type ==
Card type icons can be produced using the '''<code><nowiki>{{Creatures}}</nowiki></code>''', '''<code><nowiki>{{Spells}}</nowiki></code>''', and '''<code><nowiki>{{Supports}}</nowiki></code>''' templates:
{| class="wikitable"
| <code><nowiki>{{Creatures}}, {{Spells}}, {{Supports}}</nowiki></code>
| {{Creatures}}, {{Spells}}, {{Supports}}
|}

Like the resource templates, the card type templates accept a number which is the amount of cards of that type:
{| class="wikitable"
| <code><nowiki>{{Spells|8}}</nowiki></code>
| {{Spells|8}}
|}

== Card rarity ==
A symbol for any rarity can be produced using the '''<code><nowiki>{{Rarity}}</nowiki></code>''' templates. Pass it a one-letter (C, U, R, M) or two-letter (MP) abbreviation to tell it which rarity you want:
{| class="wikitable"
| <code><nowiki>{{Rarity|C}}</nowiki></code><br><code><nowiki>{{Rarity|R}}</nowiki></code><br><code><nowiki>{{Rarity|MP}}</nowiki></code>
| {{Rarity|C}}<br>{{Rarity|R}}<br>{{Rarity|MP}}
|}

You can also get a line-up of all the rarity symbols, with one specified rarity highlighted, using the '''<code><nowiki>{{Rarity icon lineup}}</nowiki></code>''' template:
{| class="wikitable"
| <code><nowiki>{{Rarity icon lineup|M}}</nowiki></code>
| {{Rarity icon lineup|M}}
|}

== Changing the size ==
Most of these icons can be rendered at a size of your choosing. All templates above except the Resources templates and <code><nowiki>{{Rarity icon lineup}}</nowiki></code> can be passed an additional parameter, which is the size (height) of the icon:
{| class="wikitable"
| <code><nowiki>{{G|50}} {{SetSymbol|RNA|36}} {{Creatures||10}} {{Rarity|U|24}}</nowiki></code>
| {{G|50}} {{SetSymbol|RNA|36}} {{Creatures||10}} {{Rarity|U|24}}
|}