Template:Navbar: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(trying to get existence check on talk page name; if there is no existing discussion page, the "D" won't be linked. hopefully. :))
(taking out link to discussion entirely. what's the point, really?)
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 16:33, 15 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<--

Taking this bit out. Not sure I see the point of having direct link to the template discussion page, anyway.   d

-->  edit  Ipsum

Blended, no "This box:" text. {{navbar|Template Name|plain=1|nodiv=1}} Lorem  view<--

Taking this bit out. Not sure I see the point of having direct link to the template discussion page, anyway.   d

-->  edit  Ipsum

Blended, short version. {{navbar|Template Name|mini=1|nodiv=1}} Lorem  v<--

Taking this bit out. Not sure I see the point of having direct link to the template discussion page, anyway.   d

-->  e  Ipsum

For a color option. {{navbar|Template Name|fontstyle=color:green}}
With brackets. {{navbar|Template Name|brackets=1}}
LockedTab.png