Template:Keyrune: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
mNo edit summary
>Yandere-sliver
No edit summary
Line 1: Line 1:
<i class="ss ss-{{#switch:{{lc:{{{1|}}}}}|nem=nms|p02=po2|mps=mp1|#default={{lc:{{{1|dpa}}}}}}} ss-{{#switch:{{lc:{{{rarity|}}}}}|u|uncommon=uncommon|r|rare=rare|m|mythic|mythic rare=mythic|t|time|timeshifted=time|#default=common}} {{#switch:{{{size|2}}}|2=ss-2x|3=ss-3x|4=ss-4x|5=ss-5x|6=ss-6x}} {{#if:{{{fixed|}}}|ss-fw}} {{#if:{{{grad|}}}|ss-grad}}"></i><noinclude>
<i class="ss ss-{{#switch:{{lc:{{{1|nem}}}}}|mps=mp1|#default={{lc:{{{1|dpa}}}}}}} ss-{{#switch:{{lc:{{{rarity|}}}}}|u|uncommon=uncommon|r|rare=rare|m|mythic|mythic rare=mythic|t|time|timeshifted=time|#default=common}} {{#switch:{{{size|2}}}|2=ss-2x|3=ss-3x|4=ss-4x|5=ss-5x|6=ss-6x}} {{#if:{{{fixed|}}}|ss-fw}} {{#if:{{{grad|}}}|ss-grad}}"></i><noinclude>
==Usage==
==Usage==
Keyrunes is a font which is utilized in the mtgs wiki to display magic set symbol icons.
Keyrunes is a font which is utilized in the mtgs wiki to display magic set symbol icons.

Revision as of 03:36, 5 February 2017

Usage

Keyrunes is a font which is utilized in the mtgs wiki to display magic set symbol icons.

This template is meant to ease the use of this font and has four parameter:

  • unnamed parameter : The 3 letter expansion code of the set icon you want to display. Check out this page for a complete list of possible codes. Sometimes the code listed on the page deviates from the official 3 letter code. This template makes sure however that the official code always works.
  • rarity : Defaults to common. Set the parameter can be set to 'u' or 'uncommon', 'r' or 'rare', 'm' or 'mythic' or 'mythic rare', or 't' or 'time' or 'timeshifted'.
  • size : Defaults to 2. Size in em, allows values from 1-6.
  • fixed : Can be set to 1 to display the symbol on a fixed width.
  • grad : Can be set to 1 to display a gradient to better capture the look of higher rarities.