Difference between revisions of "Template:SetSymbol"
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<noinclude> | <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). | ||
+ | * 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 | ||
+ | |||
+ | == Examples == | ||
{| border="0" width="896" | {| border="0" width="896" | ||
|- style="text-align: center;" | |- style="text-align: center;" | ||
Line 13: | Line 25: | ||
| width="14%" | <code><nowiki>{{SetSymbol|EMN}}</nowiki></code> | | width="14%" | <code><nowiki>{{SetSymbol|EMN}}</nowiki></code> | ||
|- valign="top" style="text-align: center;" | |- valign="top" style="text-align: center;" | ||
− | | {{SetSymbol|ORI}} | + | | {{SetSymbol|ORI}} |
+ | | {{SetSymbol|BFZ}} | ||
+ | | {{SetSymbol|OGW}} | ||
+ | | {{SetSymbol|SOI}} | ||
+ | | {{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|16}} | ||
+ | | {{SetSymbol|AKH|20}} | ||
+ | | {{SetSymbol|HOU|24}} | ||
+ | | {{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> | ||
| width="14%" | <code><nowiki>{{SetSymbol|DOM}}</nowiki></code> | | width="14%" | <code><nowiki>{{SetSymbol|DOM}}</nowiki></code> | ||
| width="14%" | <code><nowiki>{{SetSymbol|M19}}</nowiki></code> | | width="14%" | <code><nowiki>{{SetSymbol|M19}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|ZVE}}</nowiki></code> | ||
| width="14%" | <code><nowiki>{{SetSymbol|GRN}}</nowiki></code> | | width="14%" | <code><nowiki>{{SetSymbol|GRN}}</nowiki></code> | ||
|- valign="top" style="text-align: center;" | |- valign="top" style="text-align: center;" | ||
− | | {{SetSymbol|RIX}} | + | | {{SetSymbol|RIX}} |
+ | | {{SetSymbol|DOM}} | ||
+ | | {{SetSymbol|M19}} | ||
+ | | {{SetSymbol|ZVE}} | ||
+ | | {{SetSymbol|GRN}} | ||
+ | |- style="text-align: center;" | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|RNA}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|WAR}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|M20}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|ELD}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|THB}}</nowiki></code> | ||
+ | |- valign="top" style="text-align: center;" | ||
+ | | {{SetSymbol|RNA}} | ||
+ | | {{SetSymbol|WAR}} | ||
+ | | {{SetSymbol|M20}} | ||
+ | | {{SetSymbol|ELD}} | ||
+ | | {{SetSymbol|THB}} | ||
+ | |- style="text-align: center;" | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|ODY}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|DvK}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|IKO}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|M21}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|ZNR}}</nowiki></code> | ||
+ | |- valign="top" style="text-align: center;" | ||
+ | | {{SetSymbol|ODY}} | ||
+ | | {{SetSymbol|DvK}} | ||
+ | | {{SetSymbol|IKO}} | ||
+ | | {{SetSymbol|M21}} | ||
+ | | {{SetSymbol|ZNR}} | ||
+ | |- style="text-align: center;" | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|WOE}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|LCI}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|MKM}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|M21}}</nowiki></code> | ||
+ | | width="14%" | <code><nowiki>{{SetSymbol|ZNR}}</nowiki></code> | ||
+ | |- valign="top" style="text-align: center;" | ||
+ | | {{SetSymbol|WOE}} | ||
+ | | {{SetSymbol|LCI}} | ||
+ | | {{SetSymbol|MKM}} | ||
+ | |||
|} | |} | ||
− | [[Category: | + | [[Category:Symbol templates]] |
− | </noinclude> | + | </noinclude><includeonly>{{Inline|[[File:{{{1}}}_Symbol.png|{{#if:{{{2|}}}|x{{{2}}}px|x16px}}|link={{{3|{{{1}}}}}}|{{{4|{{Set expand|{{{1}}}}}}}}]]}}</includeonly> |
Latest revision as of 08:43, 12 March 2024
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