Template:Bubble

From Red Faction Wiki
Revision as of 03:46, 25 January 2024 by SimpleArrows (talk | contribs)
{{Bubble|}}

Guide to each parameter: This template is intended to be used with Template:BubbleNav. Visit the page for more information on the bubble types.

{{Bubble| TYPE | TEXT | ICON | ICON LINK }}

Each parameter is separated by the vertical bar/pipe symbol "|", there are no parameter names used in this template. The template will only work correctly if the order of parameters is also correct. Make sure to read the Usage section for more examples.

type:
"explore", "link" or "none".

text:
The link or text that's going to show in the box to right of the icon.

icon:
An image shown to the left of the text. Only write the image name with its extension and no other formatting, e.g. "Icon_RFG.png". "icon" and "icon link" can be ommitted if an icon isn't needed for the bubble.

icon link:
The link that the icon will redirect to. Make sure it's the SAME link you use inside "text" and write it without any brackets. For example, if the text was "[[Red Faction: Guerrilla Vehicles|Vehicles]]" or "[[Mount Vogel]]", the icon link would be "Red Faction: Guerrilla Vehicles" and "Mount Vogel" respectively.

Usage:

{{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)}}
{{Bubble|none|Locations of [[Red Faction: Guerrilla]]|Icon_RFGSafehouse.png|Red Faction: Guerrilla}}

Output:

  • "explore" bubble:
  • "link" bubble:


  • "none" bubble:
EXPLORE
Icon RFGSafehouse.png

Locations of Red Faction: Guerrilla