Template:Navbar-header: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Johan Elisson testing font color attribute for v d e links |
meta>Johan Elisson missed defining fontcolor |
||
Line 1: | Line 1: | ||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="{{{bgcolor}}}"><tr bgcolor="{{{bgcolor}}}"><td width="10%" bgcolor="{{{bgcolor}}}"> </td><td align="center" bgcolor="{{{bgcolor}}}">{{#if:{{{fontcolor|}}}|<font color="{{{fontcolor|}}}">}}{{{1}}}{{#if:{{{fontcolor|}}}|</font>}}</td><td align="right" width="10%" bgcolor="{{{bgcolor}}}">{{Tnavbar-mini-nodiv|{{{2}}}|{{{fontcolor}}}}}</td></tr></table><noinclude> | <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="{{{bgcolor}}}"><tr bgcolor="{{{bgcolor}}}"><td width="10%" bgcolor="{{{bgcolor}}}"> </td><td align="center" bgcolor="{{{bgcolor}}}">{{#if:{{{fontcolor|}}}|<font color="{{{fontcolor|}}}">}}{{{1}}}{{#if:{{{fontcolor|}}}|</font>}}</td><td align="right" width="10%" bgcolor="{{{bgcolor}}}">{{Tnavbar-mini-nodiv|{{{2}}}|fontcolor={{{fontcolor}}}}}</td></tr></table><noinclude> | ||
==Usage== | ==Usage== | ||
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|bgcolor=#html color code'''<nowiki>}}</nowiki>''' in the header area of a given [[Wikipedia:Navigational templates|template]] to add a centred heading with right justified '''v''' · '''d''' · '''e''' navigational functionality. If there is need for an other font color than black, use '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|bgcolor=#html color code|fontcolor=#html color code'''<nowiki>}}</nowiki>''' instead. | Simply place '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|bgcolor=#html color code'''<nowiki>}}</nowiki>''' in the header area of a given [[Wikipedia:Navigational templates|template]] to add a centred heading with right justified '''v''' · '''d''' · '''e''' navigational functionality. If there is need for an other font color than black, use '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|bgcolor=#html color code|fontcolor=#html color code'''<nowiki>}}</nowiki>''' instead. |
Revision as of 16:17, 22 June 2006
{{{1}}} | Template:Tnavbar-mini-nodiv |
Usage
Simply place {{Tnavbar-header|Heading|Name of Template|bgcolor=#html color code}} 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 an other font color than black, use {{Tnavbar-header|Heading|Name of Template|bgcolor=#html color code|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. |
{{Tnavbar-mini}} | → | Divides into a separate section: {{Tnavbar-mini|Tnavbar}} like so. | → | Divides into a separate section: Template:Tnavbar-mini like so. |
{{Tnavbar-plain}} | → | Divides into a separate section: {{Tnavbar-plain|Tnavbar}} like so. | → | Divides into a separate section: Template:Tnavbar-plain like so. |
{{Tnavbar-nodiv}} | → | Good for "blending" into text. {{Tnavbar-nodiv|Tnavbar}} | → | Good for "blending" into text. Template:Tnavbar-nodiv |
{{Tnavbar-mini-nodiv}} | → | Good for "blending" {{Tnavbar-mini-nodiv|Tnavbar}} into text. | → | Good for "blending" Template:Tnavbar-mini-nodiv into text. |
{{Tnavbar-plain-nodiv}} | → | {{Tnavbar-plain-nodiv|Tnavbar}} Good for "blending" into text. | → | Template:Tnavbar-plain-nodiv Good for "blending" into text. |
See the main article for this category, Navbar-header.
Articles about navbar-header. |