Template:Navbar/doc

From Old School RuneScape Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Navbar.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Navbar invokes function navbar in Module:Tnavbar using Lua.

Navbar provides a small navigation bar. It is primarily used for content-heavy templates and other transcluded content blocks, so that the content inside the template or block is more easily editable in situ where it was found, without having track it down through examining transclusion code.

Usage

{{Navbar|Template:Navbar}} will result in:

{{Nowrap|{{Navbar|Template:Navbar|talk=autoconfirmed|brackets=yes|mini=yes|style=font-size:3em|font-style:uppercase}}}} will result in:

[ ]

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Creates a small navigation bar.

Template parameters

ParameterDescriptionTypeStatus
Template name1

Name of the template this navbar is located in.

Stringrequired
CSS stylestyle

no description

Stringoptional
Link CSS stylefontstyle

no description

Stringoptional
Short versionmini

Whether to shorten links to 'v t e'

Default
false
Booleanoptional
Bracketsbrackets

Whether to add brackets before and after the links.

Default
false
Booleanoptional