Difference between revisions of "Template:Icon"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) (Main template to use for all kinds of icons.) |
(No difference)
|
Revision as of 09:39, 17 October 2014
Contents
Syntax
{{icon|<name>|size=16px}}
Description
This template has several purposes:
- Always used instead of direct links, it can save many edits in the future.
- Reduces custom mediawiki code in the articles.
- Makes icons link to relevant article pages, instead of the default "File history" page.
Parameters
- parameter 1
- Name of the icon
- size
- OPTIONAL. Changes the size of the icon (default is 32px).
Examples
{{icon|saltpeter}}