Template:BubbleNav: Difference between revisions

From Red Faction Wiki
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
:Go to [[Template:BubbleNav/data]] to view, add and edit navigation presets.
:To view, add and edit navigation presets, see [[Template:BubbleNav/data]].
<pre>{{BubbleNav}}</pre>
<templatedata>
<templatedata>
{
{
Line 27: Line 26:
"no"
"no"
],
],
"required": true
"default": "no"
},
},
"3": {
"3": {
Line 38: Line 37:
"no"
"no"
],
],
"required": true
"default": "no"
}
}
},
},
Line 53: Line 52:
}
}
</templatedata>
</templatedata>
<pre>{{BubbleNav|PRESET}}</pre>
'''Usage:'''
'''Usage:'''
<pre>{{BubbleNav|RFGCharacters|no|no}}</pre>
<pre>{{BubbleNav|RFGCharacters|no|no}}</pre>
'''Output:'''
'''Output:'''
{{BubbleNav|RFGCharacters|no|no}}
{{BubbleNav|RFGCharacters|no|no}}
[[Category:Core Templates]]
</noinclude>
</noinclude>

Latest revision as of 03:39, 2 March 2024

To view, add and edit navigation presets, see Template:BubbleNav/data.

Place at the top of pages to create a navigation bar for quick access to other pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Preset1

The preset that the navigation will use. This parameter grabs the presets from the Template:BubbleNav/data page.

Example
RFGCharacters
Stringrequired
No Divider2

Sets whether the template's bottom divider is disabled. Use "yes" to disable the divider, "no" to keep the divider enabled.

Suggested values
yes no
Default
no
Example
yes
Stringoptional
Collapsed3

Sets whether the template is collapsed by default. Use "yes" to set it to collapsed, "no" to open by default.

Suggested values
yes no
Default
no
Example
yes
Stringoptional
{{BubbleNav|PRESET}}

Usage:

{{BubbleNav|RFGCharacters|no|no}}

Output: