Template:Navbar/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Navbar. It contains usage information, categories and other content that is not part of the original template page. |
{{navbar}} is intended to be used as small shortcut to viewing, editing or going to the talk page of the template it is called in. {{Navbox}} and {{Infobox}} are prime examples of where this is used.
Usage[edit source]
{{navbar|Template Name}}
– the template name is required.
The {{subst:PAGENAME}}
will be substituted with the template's name when parsed by the servers. For example, {{navbar|{{subst:PAGENAME}}}}
gives:
Optional parameters[edit source]
Options | Parameters | Produces... |
---|---|---|
Basic | {{navbar|Template Name}} |
|
With brackets | {{navbar|Template Name|brackets=y}} |
|
With font styling examples | {{navbar|Template Name|fontstyle=color:green;font-style:italic}} |
|
With whole-template styling examples | {{navbar|Template Name|style=float:right; background: Beige; padding: 5px; border: 1px solid;}} |
See also[edit source]