Template:Navbar: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Protected "Template:Navbar": Changing this template will break others ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(trying to get existence check on talk page name; if there is no existing discussion page, the "D" won't be linked. hopefully. :))
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>]]<!--
-->&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 21:08, 4 October 2011

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