ઢાંચો:Navbar-header: આવૃત્તિઓ વચ્ચેનો તફાવત

Content deleted Content added
more simple fixes, updated example
Revert back to standard HTML tables, moving documentation to /doc
લીટી ૧:
{|<table border="0" cellspacing="0" cellpadding="0" style="width: 100%; background: transparent;">
|-<tr valign="middle">
|<td width="10%"|><!-- --></td>
|<td align="center"|>{{#if:{{{fontcolor|}}} |<span style="color:{{{fontcolor|}}} !important;">{{{1}}}</span>|{{{1}}}}}</td>
|<td align="right" width="10%"|>{{Tnavbar|{{{2|{{PAGENAME}}}}}|mini=1|nodiv=1}}</td>
</tr>
|}</table><noinclude>
<!-- Do not replace change the HTML table tag to wiki tables, it breaks other templates layouts -->
 
 
{{/doc}}<!--Note: Interwiki links for this template should be put on [[Template:Tnavbar/doc]]-->
==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'''&middot;'''d'''&middot;'''e'''&middot;'''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==
<pre><nowiki>
{{Tnavbar-header|Header Text}}
{{Tnavbar-header|[[redlink|Linked Text]], Unlinked Text|Template Name|fontcolor=Gray}}
</nowiki></pre>
 
Yields:
{{Tnavbar-header|Header Text}}
 
 
 
{{Tnavbar-header|[[redlink|Linked Text]], Unlinked Text|Template Name|fontcolor=Gray}}
 
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
[[hu:Sablon:Navifejléc]]
[[sl:Predloga:Prednavmeni-naslov]]
</noinclude>