http://wiki.randombell.com/index.php?title=Template:Navbar-header/doc&feed=atom&action=historyTemplate:Navbar-header/doc - Revision history2024-03-29T06:07:34ZRevision history for this page on the wikiMediaWiki 1.34.0http://wiki.randombell.com/index.php?title=Template:Navbar-header/doc&diff=732&oldid=prevRandombell: 1 revision imported2016-06-04T18:29:36Z<p>1 revision imported</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<includeonly>{{high-use|42,000+}}</includeonly><br />
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --><br />
<br />
==Usage==<br />
Simply place the following code in the header area of a given [[Wikipedia:Navigational templates|template]] to add a centred heading with right justified view/talk/edit link functionality.<br />
<br />
<blockquote>{{tlxi|Navbar-header|heading|name of template}}</blockquote><br />
<br />
==Parameters==<br />
===Mandatory===<br />
; {{var|heading}} (first unnamed parameter): Text that appears centered in the titlebar (the top bar).<br />
; {{var|name of template}} (second unnamed parameter): The name of the template, which is needed for the "{{navbar|Navbar-header|plain=1}}" links to work properly on all of the pages where the template is used on. You can enter <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut: {{tlc|Navbar-header|{{var|heading}}|<nowiki>{{subst:PAGENAME}}</nowiki>}}<br />
<br />
===Optional===<br />
; {{para|plain|1}}: Switches from abbreviated "{{navbar|Navbar-header|mini=1}}" mode to "{{navbar|Navbar-header|plain=1}}", if plain=1 is set.<br />
; {{para|fontcolor}}: Specifies the title text color. Any choice of [[CSS colors]].<br />
<br />
==Example==<br />
See {{tl|Article Alerts Navheader}}, for an example.<br />
<br />
==See also==<br />
; {{tl|Navbar}}: This template [[Wikipedia:Transclusion|transcludes]] navbar, the source is more customizable.<br />
; {{tl|Navbar-navframe}}: For use in conjunction with [[Wikipedia:NavFrame#NavFrame divs|NavFrame divs]], positions {{navbar|Navbar-header|mini=1}} opposite of the [hide]/[show] feature.<br />
; {{tl|Navbar-collapsible}}: For use in conjunction with [[Wikipedia:NavFrame#Collapsible tables|collapsible tables]], floats {{navbar|Navbar-header|mini=1}} opposite of the [hide]/[show] feature<br />
<br />
Make use of meta-template to reduce code bloat and simplify editing:<br />
{{Navigation templates}}<br />
<br />
<br />
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||<br />
<!-- ADD CATEGORIES BELOW THIS LINE --><br />
[[Category:Internal link templates]]<br />
}}</includeonly></div>Randombell