Vorlage:Navbar-header: Unterschied zwischen den Versionen
(→Usage: font color usage) |
(fix problem with links going black) |
||
Zeile 1: | Zeile 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}}}"><font color="{{{fontcolor|000000}}}">{{{1}}}</font></td><td align="right" width="10%" bgcolor="{{{bgcolor}}}">{{Tnavbar-mini-nodiv|{{{2}}}}}</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|000000}}}">}}{{{1}}}{{#if:{{{fontcolor|}}}|</font>}}</td><td align="right" width="10%" bgcolor="{{{bgcolor}}}">{{Tnavbar-mini-nodiv|{{{2}}}}}</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. |
Version vom 22. Juni 2006, 16:23 Uhr
{{{1}}} | Vorlage: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: Vorlage:Tnavbar like so. |
{{Tnavbar-mini}} | → | Divides into a separate section: {{Tnavbar-mini|Tnavbar}} like so. | → | Divides into a separate section: Vorlage:Tnavbar-mini like so. |
{{Tnavbar-plain}} | → | Divides into a separate section: {{Tnavbar-plain|Tnavbar}} like so. | → | Divides into a separate section: Vorlage:Tnavbar-plain like so. |
{{Tnavbar-nodiv}} | → | Good for "blending" into text. {{Tnavbar-nodiv|Tnavbar}} | → | Good for "blending" into text. Vorlage:Tnavbar-nodiv |
{{Tnavbar-mini-nodiv}} | → | Good for "blending" {{Tnavbar-mini-nodiv|Tnavbar}} into text. | → | Good for "blending" Vorlage:Tnavbar-mini-nodiv into text. |
{{Tnavbar-plain-nodiv}} | → | {{Tnavbar-plain-nodiv|Tnavbar}} Good for "blending" into text. | → | Vorlage:Tnavbar-plain-nodiv Good for "blending" into text. |