Difference between revisions of "Template:Symbol"
Line 23: | Line 23: | ||
[[Category:Mana icon templates]] | [[Category:Mana icon templates]] | ||
− | </noinclude><includeonly>[[File:icon_{{{1}}}.png|x{{#if:{{{2|}}}|{{{2}}}|15}}px|link={{#if:{{{3|}}}|{{{3}}}|Mana}}|<!-- | + | </noinclude><includeonly>{{Inline|[[File:icon_{{{1}}}.png|x{{#if:{{{2|}}}|{{{2}}}|15}}px|link={{#if:{{{3|}}}|{{{3}}}|Mana}}|<!-- |
-->{{#if:{{{4|}}}|{{{4}}}|{{#switch:{{{1}}}<!-- | -->{{#if:{{{4|}}}|{{{4}}}|{{#switch:{{{1}}}<!-- | ||
-->|W = White<!-- | -->|W = White<!-- | ||
Line 33: | Line 33: | ||
-->|L = Loyalty<!-- | -->|L = Loyalty<!-- | ||
-->|{{{1}}}<!-- | -->|{{{1}}}<!-- | ||
− | -->}}}}]]</includeonly> | + | -->}}}}]]}}</includeonly> |
Revision as of 11:10, 28 April 2020
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).
- The third parameter (optional) is a wiki link for the icon (default: Mana).
- The fourth parameter (optional) is hover text for the icon (default: the full name of the color).
{{Symbol|L}}
|
{{Symbol|C}}
|
{{Symbol|W}}
|
{{Symbol|U}}
|
{{Symbol|B}}
|
{{Symbol|R}}
|
{{Symbol|G}}
|