Difference between revisions of "Template:SetSymbol"

From mtgpq wiki
Jump to: navigation, search
Line 1: Line 1:
<noinclude>[[Category:Symbol templates| ]]</noinclude>
+
<noinclude>[[Category:Symbol templates| ]]
<noinclude>
 
 
== Usage ==
 
== Usage ==
 
This template produces an small symbol icon that is used to represent set expansion symbols.
 
This template produces an small symbol icon that is used to represent set expansion symbols.
 +
* The first parameter is the three-letter acronym of an expansion set.
 +
* The second parameter (optional) is the height of the icon (default: 16).
  
 +
== Examples ==
 
{| border="0" width="896"
 
{| border="0" width="896"
 
|- style="text-align: center;"
 
|- style="text-align: center;"
Line 18: Line 20:
 
| {{SetSymbol|EMN}}
 
| {{SetSymbol|EMN}}
 
|- style="text-align: center;"
 
|- style="text-align: center;"
| width="14%" | <code><nowiki>{{SetSymbol|KLD}}</nowiki></code>
+
| width="14%" | <code><nowiki>{{SetSymbol|KLD|12}}</nowiki></code>
| width="14%" | <code><nowiki>{{SetSymbol|AER}}</nowiki></code>
+
| width="14%" | <code><nowiki>{{SetSymbol|AER|16}}</nowiki></code>
| width="14%" | <code><nowiki>{{SetSymbol|AKH}}</nowiki></code>
+
| width="14%" | <code><nowiki>{{SetSymbol|AKH|20}}</nowiki></code>
| width="14%" | <code><nowiki>{{SetSymbol|HOU}}</nowiki></code>
+
| width="14%" | <code><nowiki>{{SetSymbol|HOU|24}}</nowiki></code>
| width="14%" | <code><nowiki>{{SetSymbol|XLN}}</nowiki></code>
+
| width="14%" | <code><nowiki>{{SetSymbol|XLN|28}}</nowiki></code>
 
|- valign="top" style="text-align: center;"
 
|- valign="top" style="text-align: center;"
| {{SetSymbol|KLD}}
+
| {{SetSymbol|KLD|12}}
| {{SetSymbol|AER}}
+
| {{SetSymbol|AER|16}}
| {{SetSymbol|AKH}}
+
| {{SetSymbol|AKH|20}}
| {{SetSymbol|HOU}}
+
| {{SetSymbol|HOU|24}}
| {{SetSymbol|XLN}}
+
| {{SetSymbol|XLN|28}}
 
|- style="text-align: center;"
 
|- style="text-align: center;"
 
| width="14%" | <code><nowiki>{{SetSymbol|RIX}}</nowiki></code>
 
| width="14%" | <code><nowiki>{{SetSymbol|RIX}}</nowiki></code>
Line 42: Line 44:
  
 
[[Category:Mana icon templates]]
 
[[Category:Mana icon templates]]
</noinclude><includeonly>[[File:{{{1}}}_Symbol.png|x16px|link={{{1}}}|{{{1}}}]]</includeonly>
+
</noinclude><includeonly>[[File:{{{1}}}_Symbol.png|{{#if:{{{2|}}}|x{{{2}}}px|x16px}}|link={{{1}}}|{{{1}}}]]</includeonly>

Revision as of 04:26, 9 February 2019

Usage

This template produces an small symbol icon that is used to represent set expansion symbols.

  • The first parameter is the three-letter acronym of an expansion set.
  • The second parameter (optional) is the height of the icon (default: 16).

Examples

{{SetSymbol|ORI}} {{SetSymbol|BFZ}} {{SetSymbol|OGW}} {{SetSymbol|SOI}} {{SetSymbol|EMN}}
Origins Battle for Zendikar Oath of the Gatewatch Shadows over Innistrad Eldritch Moon
{{SetSymbol|KLD|12}} {{SetSymbol|AER|16}} {{SetSymbol|AKH|20}} {{SetSymbol|HOU|24}} {{SetSymbol|XLN|28}}
Kaladesh Aether Revolt Amonkhet Hour of Devastation Ixalan
{{SetSymbol|RIX}} {{SetSymbol|DOM}} {{SetSymbol|M19}} {{SetSymbol|GRN}}
Rivals of Ixalan Dominaria Core Set 2019 Guilds of Ravnica