Template:Navbar: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Changed protection level for "Template:Navbar": Robot: Protecting all pages from category Navigation templates (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
m (Re-adding link to talk page for convenience's sake.)
Tag: sourceedit
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:

Revision as of 01:35, 18 January 2016

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  d  edit  Ipsum
Blended, no "This box:" text. {{navbar|Template Name|plain=1|nodiv=1}} Lorem  view  d  edit  Ipsum
Blended, short version. {{navbar|Template Name|mini=1|nodiv=1}} Lorem  v  d  e  Ipsum
For a color option. {{navbar|Template Name|fontstyle=color:green}}
With brackets. {{navbar|Template Name|brackets=1}}
LockedTab.png