Template:Navbar: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Re-adding link to talk page for convenience's sake.)
Tag: sourceedit
m (Changed protection level for "Template:Navbar" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--
-->{{#if:{{{mini|}}}|v|view}}</span>]]<!--


-->&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}}<!--
--><!--
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:

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