Template:Navbar/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 6: | Line 6: | ||
: One unnamed parameter, which is the full name of the page to link to. | : One unnamed parameter, which is the full name of the page to link to. | ||
; <code>text</code> | ; <code>text</code> (optional) | ||
: Text preceding the navigation bar, often used to indicate the namespace. | : Text preceding the navigation bar, often used to indicate the namespace. | ||
Revision as of 00:03, 12 September 2024
- This template is implemented by the Lua module Module:Navbar.
- This template invokes the following functions: navbar from Navbar.
This is a simplified version of Wikipedia's navigation bar template.
Parameters
{{{1}}}(required)- One unnamed parameter, which is the full name of the page to link to.
text(optional)- Text preceding the navigation bar, often used to indicate the namespace.
For example:
{{navbar|Template:Navbar}}
{{navbar|Template:Navbar|text=This template:}}
{{navbar|12edo}}
{{navbar|12edo|text=This page:}}
give:
[[:|View]] • [[ talk:|Talk]] • Edit
This template: [[:|View]] • [[ talk:|Talk]] • Edit
