Vorlage:Navbar-header: Unterschied zwischen den Versionen

fix problem with links going black
(→‎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}}}">&nbsp;</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}}}">&nbsp;</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''' &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