Template:Navbar

From FlightGear wiki
Jump to: navigation, search


The following template description is not displayed when the template is inserted in an article.

Goal

This template can be used in other templates to show small links for viewing, discussing and editing those templates (often V•T•E).

Usage

{{navbar|Page name |text= |plain= |mini= |noedit= |brackets= |fontstyle= |style=}}

All parameters but page name are optional.

page name
Name of the page the template is put on. When used in other templates {{subst:PAGENAME}} can be used.
text
Non-default explanatory text.
plain
If non-empty the explaining text will not be shown.
mini
If non-empty the links will be minimized to V•T•E.
noedit
If non-empty the edit link will be hidden.
brackets
If non-empty brackets will be put around the links.
fontstyle
Font style cascading style sheet (CSS) style rules.
style
Other cascading style sheet (CSS) style rules, for example alignment.

Examples

Basic

{{navbar|Template Name}}

Different text

{{navbar|Template Name |text=This template:}}

Without "This box:" text

{{navbar|Template Name |plain=1}}

Short version

{{navbar|Template Name |mini=1}}

With brackets

{{navbar|Template Name |brackets=1}}

With a color option (span)

{{navbar|Template Name |fontstyle=color:green}}

To float to the side (div)

{{navbar|Template Name |style=float:right}}