Template:Icon/Documentation

This template will take an ID for a flag (see list below) and return an icon (if available), or a link to the country's category. Use of this template enables icons to easily be added.

Adding IDs
If you want to add a flag 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 flag ID:

The second parameter (optional) allows the width of the icon to be specified (the default varies based on the icon, but is around 25px):

The third parameter (optional) allows the icon to be floated left or right (the default is neither [no floating]):

IDs
Here's a list of the currently-available flag IDs. If you want an ID for a new flag 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 should display in the list below (to the right of the ID).