Template:Navbar/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}{{Wikipedia|{{FULLROOTPAGENAME}}}}
{{dochead}}{{wikipedia}}{{lua}}
This is a simplified version of Wikipedia's navigation bar template.
This is a simplified version of Wikipedia's navigation bar template.


=== Parameters ===
=== Parameters ===
; <code>{{(((}}1{{)))}}</code> (required)
; <code><nowiki>{{{1}}}</nowiki></code> (required)
: 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><nowiki>{{{2}}}</nowiki></code> (optional)
: A second unnamed parameter. Pass in <code>mini</code> to change <code style="white-space: nowrap;">View &bull; Talk &bull; Edit</code> to <code style="white-space: nowrap;">V &bull; T &bull; E</code>.


; <code>text</code> (optional)
; <code>text</code> (optional)
Line 20: Line 23:
give:
give:


{{{{ROOTPAGENAME}}|{{FULLROOTPAGENAME}}}}
{{{{ROOTPAGENAME}}|{{ARTICLEROOTPAGENAME}}}}


{{{{ROOTPAGENAME}}|{{FULLROOTPAGENAME}}|text=This template:}}
{{{{ROOTPAGENAME}}|{{ARTICLEROOTPAGENAME}}|text=This template:}}


{{{{ROOTPAGENAME}}|12edo}}
{{{{ROOTPAGENAME}}|12edo}}


{{{{ROOTPAGENAME}}|12edo|text=This page:}}
{{{{ROOTPAGENAME}}|12edo|text=This page:}}
=== See also ===
* [[:Template:Navbar table]] &ndash; used for inserting a navigation bar to a table.