https://portlandwiki.org/index.php?title=Template:Navbar-header/doc&feed=atom&action=historyTemplate:Navbar-header/doc - Revision history2024-03-29T05:52:08ZRevision history for this page on the wikiMediaWiki 1.40.1https://portlandwiki.org/index.php?title=Template:Navbar-header/doc&diff=22693&oldid=prevMitch Gore: Created page with "{{Documentation subpage}} <includeonly>{{high-use|10,000+}}</includeonly> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> ==Usage== Simply place the following code in th..."2012-11-01T03:27:50Z<p>Created page with "{{Documentation subpage}} <includeonly>{{high-use|10,000+}}</includeonly> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> ==Usage== Simply place the following code in th..."</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<includeonly>{{high-use|10,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 />
<pre>{{Navbar-header |Heading |Name of template }}</pre><br />
<br />
==Parameters==<br />
====''Mandatory''====<br />
; 1 : (the first unnamed parameter) Text that appears centered in the titlebar (the top bar).<br />
; 2 : (the 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.<br />
<br />
====''Optional''====<br />
; plain : switched from {{navbar|Navbar-header|mini=1}} mode to {{navbar|Navbar-header|plain=1}}, if plain=1 is set.<br />
; fontcolor : Specifies the title text color<br />
; bgcolor : (<span style="color: red;">'''Deprecated'''</span>) It used to provide a different background color, however the code has been updated to always give a transparent background<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|Tnavbar-navframe}}: For use in conjunction with [[Wikipedia:NavFrame|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 />
{{Navigational templates}}<br />
<br />
<includeonly><br />
<!---CATEGORIES HERE---><br />
<br />
[[Category:Internal link templates]]<br />
<br />
<!---INTERWIKIS HERE---><br />
<br />
<br />
</includeonly></div>Mitch Gore