|
|
(30 intermediate revisions by 18 users not shown) |
Line 1: |
Line 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> | | <div style="text-align:center; position:relative; white-space:nowrap; {{#if:{{{fontcolor|}}}| color:{{{fontcolor}}};}}">{{{1}}}<!-- |
| ==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.
| |
| ==Note to editors==
| |
| This template is likely represented across <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Special:Whatlinkshere/Template:Tnavbar-header&limit=2000&from=0 hundreds of pages (if not thousands)]</span>; please tread lightly when editing here.
| |
|
| |
|
| ==Examples / See also== | | -->{{Navbar |
| {| class="wikitable" | | | 1 = {{{2<noinclude>|Navbar-header</noinclude>}}} |
| ! Template !! colspan=2 | This... !! colspan=2 | Produces... | | | {{#ifeq: {{{plain|}}} |
| |- | | |<!--equals:-->1 |
| | {{tl|Tnavbar}} || → || Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar}} like so.
| | |<!--then:-->plain |
| |}
| | |<!--else:-->mini |
| | }} = 1 |
| | | style = position:absolute; right:0; top:0; margin:0 5px; |
| | | {{#if: {{{fontcolor|}}} |
| | | fontstyle | NULL }} = color:{{{fontcolor}}}; |
| | }}<!-- |
|
| |
|
| [[Category:Internal link templates|{{PAGENAME}}]]
| | --></div><noinclude> |
| | | {{documentation}} |
| [[hu:Sablon:Navifejléc]]
| | <!-- Add cats and interwikis to the /doc subpage, not here! --> |
| [[sl:Predloga:Prednavmeni-naslov]]
| |
| </noinclude> | | </noinclude> |