Contents |
Template:Icon is used to display icon images from games, normally adjacent to a link to the relevant article. This can be used in an article when referring to a stat, element, status effect, or otherwise for which a game has an icon.
The game is specified in the first parameter, followed by the category of icon, and the icon itself to be displayed. For accessibility, the name and link is displayed after the icon. Icons compatible with the template are stored in Module:Icon/data.
Usage
{{icon|game= |category= |icon=}}
The above is used for generating icons. If all is specified, an icon is generated.
For example:
{{icon|FFVIIR|attribute|strength}}
will display:
If the icon has no link attached, or nolink
is used in a fourth parameter, no link will be displayed. For example:
{{icon|FFVIIR|attribute|strength|nolink}}
will display:
Parameters
The game that the icon is from. Options depend on games with icons stored in Module:Icon/data.
The category of the icon to be displayed. Options depend icons stored in Module:Icon/data, and should be singular.
The icon displayed. Options depend on games with icons stored in Module:Icon/data.
Used for options. Fill with nolink
to hide the link portion and only show the icon.