Template:Icon

From Project: Gorgon Wiki
Revision as of 16:59, 18 October 2014 by Gorgonzola (talk | contribs) (Add mouseover titles to the food icons.)
Jump to: navigation, search

Item-icon-none.png

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. See Item Icons Guide for available icons (eg. "firstaid"). If not provided, an empty box is shown.
size
OPTIONAL. Changes the size of the icon (default is 32px).

Examples

{{icon|saltpeter}}