Template:BubbleNav/data: Difference between revisions

From Red Faction Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
<!-- EDITOR NOTE: A blank preset is below for you to use, or you can copy and paste an existing preset to modify. Try to place your presets in the code together if there's any relation (e.g. RFG with RFGLocations and RFGCharacters) as a way to make it easier to find when editing.


| RFG = {{#switch: {{{data|}}}
  | title =
  | links =
  }}
-->
| RFG = {{#switch: {{{data|}}}
| RFG = {{#switch: {{{data|}}}
   | title =  
   | title =  
Line 137: Line 144:
{{Bubble|link|[[Earth]]}}
{{Bubble|link|[[Earth]]}}
   }}
   }}
}}<noinclude>
}}
 
<noinclude>
: When editing presets, use [[Template:Bubble]] for the "title" and "links" parameters.
: When editing presets, use [[Template:Bubble]] for the "title" and "links" parameters.
<templatedata>
<templatedata>
Line 158: Line 167:
},
},
"description": "A list of presets that are used by Template:BubbleNav. Click on the page's edit button to view, add and edit navigation presets.",
"description": "A list of presets that are used by Template:BubbleNav. Click on the page's edit button to view, add and edit navigation presets.",
"format": "block"
"format": "block",
"paramOrder": [
"title",
"links"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 09:57, 28 January 2024


When editing presets, use Template:Bubble for the "title" and "links" parameters.

A list of presets that are used by Template:BubbleNav. Click on the page's edit button to view, add and edit navigation presets.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

This parameter uses a Template:Bubble with the "explore" type.

Example
{{Bubble|explore|[[Red Faction: Guerrilla]]|Icon_RFG.png|Red Faction: Guerrilla}}
Templaterequired
Linkslinks

This parameter uses a Template:Bubble with the "link" type. Separate each bubble with a new line.

Example
{{Bubble|link|[[RF:G Editing Main Page|Modding]]|Icon_RFG.png|RF:G Editing Main Page}}
Templaterequired