Template:Navbar

From PZwiki
Notebook.pngTemplate Documentation

This template is used to create a navbar. Usually displayed at the top of a page to provide navigation to related pages.

Usage

Don't use this template directly, use templates under Category:Navbar instead.

Parameter

1 Required
The content of the navbar. Should be a list of links without spaces between them. Each link will be rendered as a button. The first button will be decorated with bold font.
theme
Theme of the navbar. Available themes are red, blue. Default to red.

Example

  • {{Navbar|{{ll|Help:Contents}}{{ll|Help:Editing for beginners}}{{ll|Help:Navigation}}{{ll|Help:Creating a new page}}{{ll|Help:How to help}}}}
  • {{Navbar|theme=blue|{{ll|Help:Contents}}{{ll|Help:Editing for beginners}}{{ll|Help:Navigation}}{{ll|Help:Creating a new page}}{{ll|Help:How to help}}}}

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.