[[File:{{{1}}}.png|16x16px|]]

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infoicon/doc to edit this documentation. (How does this work?)
Syntax
Insert this template using {{Infoicon|<image name>}} for a basic icon.
Examples
Icon only: Golden egg 1.png
{{Infoicon|Golden egg 1}}
With page link: Golden Eggs
{{Infoicon|Golden egg 1|link=Golden Eggs}}
Alternate name: The Golden Egg
{{Infoicon|Golden egg 1|link=Golden Eggs|The Golden Egg}}
Named without link: Golden Egg
{{Infoicon|Golden egg 1|Golden Egg}}
Custom size: Golden egg 1.png
{{Infoicon|Golden egg 1|size=32}}
Template Data

The base template for infoicons.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Image1

The name of the image file.

Example
Golden egg 1
Stringrequired
Name2

Alternate name for the icon. This sets the alt text and is displayed when hovering over the icon.

Default
The link name, if given
Stringoptional
Linklink

A page for the icon to link to.

Pagesuggested
Extensionext

The file extension for the image.

Default
".png"
Stringoptional
Sizesize

The size or dimensions of the icon in pixels. Can be a single number (to set the width) or dimensions. A set of dimensions specifies a rectangular region for the image to fit in while preserving the aspect ratio.

Default
16x16
Example
16 | 16x12
Numberoptional
Community content is available under CC-BY-SA unless otherwise noted.