Difference between revisions of "Template:SetSymbol"
Line 71: | Line 71: | ||
| width="14%" | <code><nowiki>{{SetSymbol|IKO}}</nowiki></code> | | width="14%" | <code><nowiki>{{SetSymbol|IKO}}</nowiki></code> | ||
| width="14%" | <code><nowiki>{{SetSymbol|M21}}</nowiki></code> | | width="14%" | <code><nowiki>{{SetSymbol|M21}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|ZNR}}</nowiki></code> | ||
|- valign="top" style="text-align: center;" | |- valign="top" style="text-align: center;" | ||
| {{SetSymbol|ODY}} | | {{SetSymbol|ODY}} | ||
Line 76: | Line 77: | ||
| {{SetSymbol|IKO}} | | {{SetSymbol|IKO}} | ||
| {{SetSymbol|M21}} | | {{SetSymbol|M21}} | ||
+ | | {{SetSymbol|ZNR}} | ||
|} | |} | ||
[[Category:Symbol templates]] | [[Category:Symbol templates]] | ||
</noinclude><includeonly>{{Inline|[[File:{{{1}}}_Symbol.png|{{#if:{{{2|}}}|x{{{2}}}px|x16px}}|link={{{3|{{{1}}}}}}|{{{4|{{Set expand|{{{1}}}}}}}}]]}}</includeonly> | </noinclude><includeonly>{{Inline|[[File:{{{1}}}_Symbol.png|{{#if:{{{2|}}}|x{{{2}}}px|x16px}}|link={{{3|{{{1}}}}}}|{{{4|{{Set expand|{{{1}}}}}}}}]]}}</includeonly> |
Revision as of 09:24, 9 October 2020
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).
- The third parameter (optional) is the wiki link for the image. The default link is the set abbreviation.
- The fourth parameter (optional) is the tooltip for the wiki link. The default link is the set name.
Maintenance
- To capture and upload a new set symbol:
- Install the latest Keyrune TrueType font from https://keyrune.andrewgioia.com/
- Insert the symbol for the new set from the Keyrune font into a document in a word processor tool (such as Word)
- Capture an image of the symbol at 40pt font size and 100% scaling
- Trim the image to 120x120 pixels in an image editor (such as Gimp)
- Convert the white background to transparency (e.g. via "Color to Alpha" in Gimp)
- Export and upload to the wiki with filename XYZ_Symbol.png, where XYZ is the expansion name