|
|
(46 intermediate revisions by 19 users not shown) |
Line 1: |
Line 1: |
| <div style="text-align: center; padding-left: 5em; {{#if:{{{fontcolor|}}}| color:{{{fontcolor|}}}}}"> | | <div style="text-align:center; position:relative; white-space:nowrap; {{#if:{{{fontcolor|}}}| color:{{{fontcolor}}};}}">{{{1}}}<!-- |
| <div style="float: right; width: 5em; text-align: right;">{{Tnavbar|{{{2}}}|mini=1|nodiv=1}}</div>
| |
| {{{1}}}</div><noinclude> | |
|
| |
|
| ==Usage== | | -->{{Navbar |
| 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.
| | | 1 = {{{2<noinclude>|Navbar-header</noinclude>}}} |
| | | {{#ifeq: {{{plain|}}} |
| | |<!--equals:-->1 |
| | |<!--then:-->plain |
| | |<!--else:-->mini |
| | }} = 1 |
| | | style = position:absolute; right:0; top:0; margin:0 5px; |
| | | {{#if: {{{fontcolor|}}} |
| | | fontstyle | NULL }} = color:{{{fontcolor}}}; |
| | }}<!-- |
|
| |
|
| ==Note to editors==
| | --></div><noinclude> |
| 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.
| | {{documentation}} |
| | | <!-- Add cats and interwikis to the /doc subpage, not here! --> |
| ==Examples / See also==
| |
| {| class="wikitable"
| |
| ! Template !! colspan=2 | This... !! colspan=2 | Produces...
| |
| |-
| |
| | {{tl|Tnavbar}} || → || Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar}}</nowiki> like so. || → || Divides into a separate section: {{Tnavbar|Tnavbar}} like so.
| |
| |}
| |
| | |
| [[Category:Internal link templates|{{PAGENAME}}]]
| |
| | |
| [[hu:Sablon:Navifejléc]]
| |
| [[sl:Predloga:Prednavmeni-naslov]]
| |
| </noinclude> | | </noinclude> |