Template:Keyrune: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Yandere-sliver
mNo edit summary
Line 14: Line 14:
Only curse staff can update the font. Please contact [[UserProfile:Equazcion|Equazcion]], when a new version is available [https://github.com/andrewgioia/Keyrune here].
Only curse staff can update the font. Please contact [[UserProfile:Equazcion|Equazcion]], when a new version is available [https://github.com/andrewgioia/Keyrune here].


The [[MediaWiki:Common.css]] has to be updated accordingly, so that the template works properly.
The [[MediaWiki:Common.css|common.css]] has to be updated accordingly, so that the template works properly.
{{Symbol cat}}</noinclude>
{{Symbol cat}}</noinclude>

Revision as of 14:56, 23 March 2017

Keyrune

Keyrune is a font developed by Andrew Gioia, which is utilized in the mtg wiki to display magic expansion symbols.

Usage

This template is meant to ease the use of keyrune in the wiki 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. If that is the case, the official 3 letter code was added to the css so it works as well.
  • rarity : Defaults to common. Set the parameter can be set to 'u' or 'uncommon', 'r' or 'rare', 'm' or 'mythic' or 'mythic rare', 't' or 'time' or 'timeshifted', or 'f' or 'foil' to display the respective rarity.
  • size : Defaults to 2. Font size in em.
  • 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.

Updating the font

Only curse staff can update the font. Please contact Equazcion, when a new version is available here.

The common.css has to be updated accordingly, so that the template works properly.