Template:Icon

From Red Faction Wiki
Revision as of 11:40, 19 February 2024 by SimpleArrows (talk | contribs)

Creates a small icon with ease.

Template parameters

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:
Icon RFGMissions.png Missions
Icon RFGMissions.png Missions
Icon RFGMissions.png Missions