|
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
This template is used to create a navigation box on the very bottom of article pages.
Syntax
Parameter | Function |
---|---|
name | Name of the template. |
title | Text in the title bar. |
listclass | A CSS class for the list cells, usually hlist for horizontal lists. Alternatively, use bodyclass for the whole box. |
state | Controls when a navbox is expanded or collapsed. Use one of the following: on, off, closed |
navbar | Controls the visibility of the V • T • E links on the left side of the titlebar. Use one of the following: plain, off |
titlestyle | A CSS style for the title-bar, such as: background: gray; |
groupstyle | A CSS style for the group-cells, such as: background: #eee; |
above | Text to appear above the group/list section (could be a list of overall wikilinks). |
image | An optional right-side image, coded as the whole image. Typically is is purely decorative, so it should be coded as [[File:X.jpg|80px|link=|alt=]] |
imageleft | An optional left-side image with the same coding as the "image" parameter. |
groupn | The left-side text before "list-n" (if group-n is omitted, list-n starts at the left of the box). Example: group1 |
listn | Text listing wikilinks using a wikilist format. Example: list1 |
below | Optional text to appear below the group/list section. |
A more detailed document of this template can be found on Wikipedia: Template:Navbox
Sample output
{{Navbox | name = Test | title = This is the title! | listclass = hlist | state = closed | above = This is a message on the top. | image = | groupstyle = white-space: nowrap; | group1 = Group 1 | list1 = Item 1 | group2 = Group 2 | list2 = Item 2 | below = This is a message on the bottom. }}
Results in...
|