Vorlage:Navbar-header: Unterschied zwischen den Versionen

missed defining fontcolor
(testing font color attribute for v d e links)
(missed defining fontcolor)
Zeile 1: Zeile 1:
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="{{{bgcolor}}}"><tr bgcolor="{{{bgcolor}}}"><td width="10%" bgcolor="{{{bgcolor}}}">&nbsp;</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}}}">&nbsp;</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''' &middot; '''d''' &middot; '''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''' &middot; '''d''' &middot; '''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.
Anonymer Benutzer