Difference between revisions of "Template:Navbar-header"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Usage: wikilink html color code)
(rv for now, apparent problems)
Line 1: Line 1:
<div style="float: right; width: 5em; text-align: right;"><includeonly>{{Tnavbar|{{{2}}}|mini=1|nodiv=1}}</includeonly><noinclude><span style="font-size:xx-small;">v&middot;d&middot;e</span></noinclude></div>
+
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%; background: transparent;" valign="middle"><tr><td width="10%" valign="middle">&nbsp;</td><td align="center" valign="middle">{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor|}}}">}}{{{1}}}{{#if:{{{fontcolor|}}}|</span>}}</td><td align="right" width="10%" valign="middle">{{Tnavbar|{{{2}}}|mini=1|nodiv=1}}</td></tr></table><noinclude>
<div style="text-align: center; margin: 0 5em; {{#if:{{{fontcolor|}}}| color:{{{fontcolor|}}}}}">
 
{{{1}}}</div><noinclude>
 
 
==Usage==
 
==Usage==
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template'''<nowiki>}}</nowiki>''' in the header area of a given [[Wikipedia:Navigational templates|template]] to add a centred heading with right justified <span style="font-size:xx-small;">'''v'''&middot;'''d'''&middot;'''e'''</span> navigational functionality. If there is need for a font color other than black, use '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|fontcolor=#[[Web colors|html color code]]'''<nowiki>}}</nowiki>''' instead.
+
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template'''<nowiki>}}</nowiki>''' in the header area of a given [[Wikipedia:Navigational templates|template]] to add a centred heading with right justified '''v''' &middot; '''d''' &middot; '''e''' navigational functionality. If there is need for a font color other than black, use '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|fontcolor=#html color code'''<nowiki>}}</nowiki>''' instead.
  
 
==Note to editors==
 
==Note to editors==

Revision as of 17:12, 28 October 2006

 {{{1}}}Template:Tnavbar

Usage

Simply place {{Tnavbar-header|Heading|Name of Template}} in the header area of a given template to add a centred heading with right justified v · d · e navigational functionality. If there is need for a font color other than black, use {{Tnavbar-header|Heading|Name of Template|fontcolor=#html color code}} instead.

Note to editors

This template is likely represented across hundreds of pages (if not thousands); please tread lightly when editing here.

Examples / See also

Template This... Produces...
{{Tnavbar}} Divides into a separate section: {{Tnavbar|Tnavbar}} like so. Divides into a separate section: Template:Tnavbar like so.
hu:Sablon:Navifejléc

sl:Predloga:Prednavmeni-naslov