Vorlage:Navbar-header: Unterschied zwischen den Versionen
rv -- it seems most recent version breaks Navigation-box header
(this is semantically identical) |
imported>Laughing Man (rv -- it seems most recent version breaks Navigation-box header) |
||
Zeile 1: | Zeile 1: | ||
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%; background: transparent;" valign="middle"><tr><td width="10%" valign="middle"> </td><td align="center" valign="middle">{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor|}}}">}}{{{1}}}{{#if:{{{fontcolor|}}}|</span>}}</td><td align="right" width="10%" valign="middle">{{Tnavbar|{{{2}}}|mini=1|nodiv=1}}</td></tr></table><noinclude> | |||
| align="right" width="10%" valign="middle" | |||
==Usage== | ==Usage== | ||
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template'''<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|fontcolor=#html color code'''<nowiki>}}</nowiki>''' instead. | Simply place '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template'''<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|fontcolor=#html color code'''<nowiki>}}</nowiki>''' instead. |