Template:Keyrune: Difference between revisions
Jump to navigation
Jump to search
>Yandere-sliver No edit summary |
>Yandere-sliver No edit summary |
||
Line 4: | Line 4: | ||
This template is meant to ease the use of this font and has four parameter: | 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 [https://andrewgioia.github.io/Keyrune/icons.html 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 | * '''unnamed parameter''' : The 3 letter expansion code of the set icon you want to display. Check out [https://andrewgioia.github.io/Keyrune/icons.html 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', or 't' or 'time' or 'timeshifted'. | * '''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 <code>em</code>, allows values from 1-6. | * '''size''' : Defaults to 2. Size in <code>em</code>, allows values from 1-6. |
Revision as of 17:38, 11 March 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. 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', 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.