Vorlage:Navbar-header: Unterschied zwischen den Versionen
swap deprecated template for updated Template:Tnavbar, this'll need to be incorporated into Tnavbar
K (→Usage: grammar correction) |
(swap deprecated template for updated Template:Tnavbar, this'll need to be incorporated into Tnavbar) |
||
Zeile 1: | Zeile 1: | ||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="{{{bgcolor}}}" valign="middle"><tr bgcolor="{{{bgcolor}}}"><td width="10%" bgcolor="{{{bgcolor}}}" valign="middle"> </td><td align="center" bgcolor="{{{bgcolor}}}" valign="middle">{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor|}}}">}}{{{1}}}{{#if:{{{fontcolor|}}}|</span>}}</td><td align="right" width="10%" bgcolor="{{{bgcolor}}}" valign="middle">{{Tnavbar | <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="{{{bgcolor}}}" valign="middle"><tr bgcolor="{{{bgcolor}}}"><td width="10%" bgcolor="{{{bgcolor}}}" valign="middle"> </td><td align="center" bgcolor="{{{bgcolor}}}" valign="middle">{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor|}}}">}}{{{1}}}{{#if:{{{fontcolor|}}}|</span>}}</td><td align="right" width="10%" bgcolor="{{{bgcolor}}}" valign="middle">{{Tnavbar|{{{2}}}|mini=1}nodiv=1}}</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 a font color other 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 a font color other than black, use '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|bgcolor=#html color code|fontcolor=#html color code'''<nowiki>}}</nowiki>''' instead. |