Template:MC/SimpleNavbox
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template:Documentation header This is a simplified version of Template:Tl. It uses a plain wikitable and requires no lua, which makes it more memory and time efficient, while perhaps being a bit easier to break.
This template should be used in navbox templates, which should then be included at the bottom of each page that is linked in the template.
Usage
This template should be placed after the starting table tag.
| Parameter(s) | Usage | Default value(s) |
|---|---|---|
| {{{1}}} | Sets the title shown at the top of the navbox. | {{{1}}} |
| {{{navbar}}} | Will add a navigation bar giving links to view, discuss, and edit the template. Should be identical to the template's name without namespace. | None |
| {{{mini}}} | If set to an empty string, changes the titles of the navbar links to view, talk, and edit instead of v, t, and e. Does nothing unless {{{navbar}}} is set. | 1 |
The navbar paramater should generally be set and specified for all navboxes created for main use, such as navboxes in articles, templates, and help pages. This improves ease of navigation for editors.
Example
{| {{SimpleNavbox|Example|navbar=Template:SimpleNavbox}}
! Example group 1
| Example list 1
|-
! Example group 2
| Text above a sub-table
{|
! Example Sub-group 1
| Example Sub-list 1
|-
! Example Sub-group 2
| Example Sub-list 2<br>Taking up two lines
|-
! Example Sub-group 3
| Example Sub-list 3
|}
* Horizontal list
* Under a sub-table
|}
| Example group 1 | Example list 1 | ||||||
|---|---|---|---|---|---|---|---|
| Example group 2 | Text above a sub-table
|
The above text is transcluded from Template:MC/SimpleNavbox/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/SimpleNavbox/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/SimpleNavbox/doc. (View all subpages of this page.)