Template:Navbar: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(another template that comes from wikipedia, through wowwiki)
 
m (Changed protection level for "Template:Navbar" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(11 intermediate revisions by 4 users not shown)
Line 9: Line 9:
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--


-->&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[{{TALKPAGENAME:{{tcl|{{{1}}}}}}}|<span title="Discuss this template" style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|d|talk}}</span>]]<!--
--><!--
Taking this bit out.  Not sure I see the point of having
direct link to the template discussion page, anyway.
&nbsp;<span style="font-size:80%;">•</span>&nbsp;{{#ifexist:{{TALKPAGENAME}}|[[{{TALKPAGENAME:{{tcl|{{{1}}}}}}}|<span title="Discuss this template" style="{{{fontstyle|}}}">{{#if:{{{mini|}}}|d|talk}}</span>]]|d}}


-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
-->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
Line 22: Line 25:
[[Category:Navigation templates]]
[[Category:Navigation templates]]
{{documentation}}
{{documentation}}
{{lock}}
</noinclude>
</noinclude>

Latest revision as of 02:27, 18 March 2017

Instructions for {{Navbar}}
== Examples ==

Required parameters

  • {{navbar|Name of Template}} the template name is required.

Optional parameters

Options Parameters Produces...
Normal {{navbar|Template Name}}
No "This box:" text. {{navbar|Template Name|plain=1}}
Short version. {{navbar|Template Name|mini=1}}
Good for "blending" into text. {{navbar|Template Name|nodiv=1}} Lorem  This box: view  edit  Ipsum
Blended, no "This box:" text. {{navbar|Template Name|plain=1|nodiv=1}} Lorem  view  edit  Ipsum
Blended, short version. {{navbar|Template Name|mini=1|nodiv=1}} Lorem  v  e  Ipsum
For a color option. {{navbar|Template Name|fontstyle=color:green}}
With brackets. {{navbar|Template Name|brackets=1}}
LockedTab.png