Difference between revisions of "Template:Symbol"

From mtgpq wiki
Jump to: navigation, search
Line 2: Line 2:
 
== Usage ==
 
== Usage ==
 
This template produces an small symbol icon that is used to represent mana.
 
This template produces an small symbol icon that is used to represent mana.
 +
 +
The first parameter is the one-letter abbreviation of the mana color.
 +
 +
The second parameter (optional) is a size in pixels to display the symbol at (default: 15).
  
 
{| class="wikitable" border="0" width="896"
 
{| class="wikitable" border="0" width="896"
Line 18: Line 22:
 
[[Category:Mana icon templates]]
 
[[Category:Mana icon templates]]
  
</noinclude><includeonly>[[File:icon_{{{1}}}.png|x15px|link=Mana|<!--
+
</noinclude><includeonly>[[File:icon_{{{1}}}.png|x{{{2|15}}}px|link=Mana|<!--
 
-->{{#switch:{{{1}}}<!--
 
-->{{#switch:{{{1}}}<!--
 
-->|W = White<!--
 
-->|W = White<!--

Revision as of 03:08, 9 March 2019

Usage

This template produces an small symbol icon that is used to represent mana.

The first parameter is the one-letter abbreviation of the mana color.

The second parameter (optional) is a size in pixels to display the symbol at (default: 15).

{{Symbol|L}} {{Symbol|C}} {{Symbol|W}} {{Symbol|U}} {{Symbol|B}} {{Symbol|R}} {{Symbol|G}}
Loyalty Colorless White Blue Black Red Green