Template:Bubble

From Red Faction Wiki
Revision as of 09:34, 14 February 2024 by SimpleArrows (talk | contribs)

A bubble with icon and text for use in BubbleNav templates.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

Used to determine the bubble's style. Use "explore" for the title of a preset, "link" for the links section of the preset.

Suggested values
explore link none
Example
explore
Stringrequired
Text2

Text that shows to the right of the bubble's icon. Write a link as the text if the bubble's type is "link". Either write a link and/or description if the bubble's type is "explore".

Example
[[Red Faction: Guerrilla Locations]]
Stringrequired
Icon3

An icon shown to the left of the text. Omit if there is no icon.

Example
Icon_RFG.png
Fileoptional
Icon Link4

The page that the icon redirects to. It should be the same page that is linked inside the bubble's text. Omit if there is no icon.

Example
Red Faction: Guerrilla
Page nameoptional

Usage:

{{Bubble| TYPE | TEXT | ICON | ICON_LINK }}
{{Bubble|explore|[[Red Faction: Guerrilla]]|Icon_RFG.png|Red Faction: Guerrilla}}
{{Bubble|explore|[[Red Faction: Guerrilla Locations]]|Icon_RFG.png|Red Faction: Guerrilla Locations}}
{{Bubble|link|[[Parker (Sector)|Parker]]|Icon_RFG.png|Parker (Sector)}}

Output: