Jump to content

Template:Icon

From Red Faction Wiki
Revision as of 12:53, 20 February 2024 by SimpleArrows (talk | contribs)

Creates a small icon with ease.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Image1

The image used for the icon.

Example
Icon_RFGSafehouse.png
Filerequired
Size2

Optional. Size override of the icon.

Default
20px
Example
30px
Numberoptional
Link3

The name of the page to link to. By default, the icon cannot be clicked.

Example
Parker (Sector)
Page nameoptional
{{Icon|FILE_NAME|SIZE_OVERRIDE|LINK}}

Usage:

{{Icon|Icon_RFGMissions.png}} Missions
{{Icon|Icon_RFGMissions.png|50px}} Missions
{{Icon|Icon_RFGMissions.png||Red Faction: Guerrilla Missions}} Missions

Output:
Missions
Missions
Missions

50