Template:Navigation bar
Jump to navigation
Jump to search
{{{title}}}
{{{content}}}
This documentation is transcluded from Template:Navigation bar/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template will produce a grey box which fills the full width of the page, with a little show/hide link appearing in the top right.
Such a box is typically used as a navigation bar, with lots of links to let people navigate between a set of similar pages. To do this, the template would normally be used within another template, which is then placed on each of the pages. For example Template:Staedte im Ruhrgebiet (So far on this wiki it has mostly been used for German city pages.)
Usage
- title (mandatory) = The title to appear at the top of the box. Visible even when you "hide" the box.
- content (mandatory) = Everything in the main portion of the box, which folds away when you "hide" the box.
- image (optional) = Image to display in the bar (e.g.
[[File:Sample.svg|40x40px|link=Full page name|Tooltip text.]]
).
Example
- {{Navigation bar|title = Title of bar |content = Here is the content, which would typically be where a set of navigation links appear. }}
Title of bar
Here is the content, which would typically be where a set of navigation links appear.
- {{Navigation bar|title = Title of bar |image = [[File:Sample.svg|x40px|link=Template:Navigation bar|Sample.]] |content = Here is the content, which would typically be where a set of navigation links appear. }}