m (→Systems: Fixed transclusion) |
m (category fix) |
||
Line 30: | Line 30: | ||
{{Rd/Country documentation}} | {{Rd/Country documentation}} | ||
</div> | </div> | ||
<noinclude>[[Category:Template documenation|I]]</noinclude> |
Revision as of 19:18, 17 April 2009
This template will take an ID for a system (see list below) and return either an icon (if available) for the system, or a link to the system's category. Use of this template enables icons to easily be added for systems as they become available.
Adding IDs
- If you want to add a system to this list, please go to {{syscat}} and follow the instructions there.
- If you want to add a country to this list, make sure to set the default size correctly. Once you're done, please update Template:Rd/Country documentation.
Note that all cases in the switch should be in lowercase.
Usage
Normal usage; the first parameter specifies the system ID:
{{icon|gc}}
The second parameter (optional) allows the width of the icon to be specified (the default varies based on the icon, but is around 25px):
{{icon|ds|40px}}
The third parameter (optional) allows the icon to be floated left or right (the default is neither [no floating]):
{{icon|360||left}}
IDs
Here's a list of the currently-available system IDs. If you want an ID for a new system to be added (or for an icon to be added for an ID), please talk to a sysop. If an ID already has an icon assigned, it's displayed to the right of the ID below.
Systems