Template:Navbar-header: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Netscott
m make <noinclude> example correspond with actual result
Ookami (talk | contribs)
m 95 revisions imported
 
(41 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<div style="float: right; width: 5em; text-align: right;"><includeonly>{{Tnavbar|{{{2}}}|mini=1|nodiv=1}}</includeonly><noinclude><span style="font-size:xx-small;">v&middot;d&middot;e</span></noinclude></div>
<div style="text-align:center; position:relative; white-space:nowrap; {{#if:{{{fontcolor|}}}| color:{{{fontcolor}}};}}">{{{1}}}<!--
<div style="text-align: center; margin: 0 5em; {{#if:{{{fontcolor|}}}| color:{{{fontcolor|}}}}}">
{{{1}}}</div><noinclude>
==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''' &middot; '''d''' &middot; '''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.


==Note to editors==
-->{{Navbar
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.
  | 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}}};
}}<!--


==Examples / See also==
--></div><noinclude>
{| class="wikitable"
{{documentation}}
! Template !! colspan=2 | This... !! colspan=2 | Produces...
<!-- Add cats and interwikis to the /doc subpage, not here! -->
|-
| {{tl|Tnavbar}} || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar|Tnavbar}} like so.
|}
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
[[hu:Sablon:Navifejléc]]
[[sl:Predloga:Prednavmeni-naslov]]
</noinclude>
</noinclude>

Latest revision as of 01:08, 3 September 2020

{{{1}}}