Vorlage:Navbar-header: Unterschied zwischen den Versionen
Cleaned up template code
K (update) |
(Cleaned up template code) |
||
Zeile 1: | Zeile 1: | ||
{|border="0" cellspacing="0" cellpadding="0" style="width: 100%; background: transparent;" | |||
|- valign="middle" | |||
|width="10%"|<!-- --> | |||
|align="center"|{{#if:{{{fontcolor}}} |<span style="color:{{{fontcolor}}}">{{{1}}}</span>|{{{1}}}}} | |||
|align="right" width="10%"|{{Tnavbar|{{{2|Template:{{PAGENAME}}}}}|mini=1|nodiv=1}} | |||
|}<noinclude> | |||
==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 <span style="font-size:xx-small;">'''v'''·'''d'''·'''e'''·'''h'''</span> navigational functionality. If there is need for a font color other than black, use '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|fontcolor=#[[Web colors|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 <span style="font-size:xx-small;">'''v'''·'''d'''·'''e'''·'''h'''</span> navigational functionality. If there is need for a font color other than black, use '''<nowiki>{{</nowiki>'''Tnavbar-header|Heading|Name of Template|fontcolor=#[[Web colors|html color code]]'''<nowiki>}}</nowiki>''' instead. |