Template:Navbar/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
Do not use blockquotes for this purpose. The rendered result is unpredictable
Line 11: Line 11:
For example:
For example:


<blockquote class="toccolours">
<pre style="border: none; margin: 0px 0px 0px 0px;">
<pre style="border: none; margin: 0px 0px 0px 0px;">
{{navbar|Template:Navbar}}
{{navbar|Template:Navbar}}
Line 18: Line 17:
{{navbar|12edo|text=This page:}}
{{navbar|12edo|text=This page:}}
</pre>
</pre>
</blockquote>


give:
give:


<blockquote class="toccolours">
{{{{ROOTPAGENAME}}|{{FULLROOTPAGENAME}}}}
{{{{ROOTPAGENAME}}|{{FULLROOTPAGENAME}}}}


Line 30: Line 27:


{{{{ROOTPAGENAME}}|12edo|text=This page:}}
{{{{ROOTPAGENAME}}|12edo|text=This page:}}
</blockquote>

Revision as of 16:04, 16 September 2024

English Wikipedia has an article on:

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

ViewTalkEdit

This page: ViewTalkEdit