Template:Icon Link

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

This template creates a link with an icon in front of it. This requires that the given page linked to saves an icon (this is typically done via a "Summary" template).

Parameters[edit]

Icon Link
Parameter Scope Description
1 required Page name.
2 optional Name to display. Defaults to place stripped of any parenthetical text (e.g., "Weynon Priory (place)" becomes "Weynon Priory").
nolink optional Set to any value to disable linking when the link would redirect back to the current page. This parameter is inherited.
Loaded Parameters
icon
marker_icon
optional In addition to the parameters listed above, these parameters are loaded from the relevant page's Summary/InfoBox, but can be overridden if needed.

Examples[edit]

{{Icon Link|Nova Galactic}}

SF-icon-Nova Galactic.png Nova Galactic

{{Icon Link|Arboron Novastrike Sniper}}

Arboron Novastrike SniperSF-misc-Creations Logo.svg