Template:Navigation bar/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Navigation bar. It contains usage information, categories and other content or metadata that is not part of the original template. |
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. }}