Template:Navbar/doc: Difference between revisions
Jump to navigation
Jump to search
Do not use blockquotes for this purpose. The rendered result is unpredictable |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 11: | Line 11: | ||
For example: | For example: | ||
<pre | <pre> | ||
{{navbar|Template:Navbar}} | {{navbar|Template:Navbar}} | ||
{{navbar|Template:Navbar|text=This template:}} | {{navbar|Template:Navbar|text=This template:}} | ||
Revision as of 16:45, 16 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
