Template:Navbar/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(copying from wikipedia via wowwiki)
 
m (Robot: Cosmetic changes)
Line 1: Line 1:
== Examples ==
== Examples ==
===Required parameters===
=== Required parameters ===
*<code><nowiki>{{navbar|Name of Template}}</nowiki></code> the template name is required.
* <code><nowiki>{{navbar|Name of Template}}</nowiki></code> the template name is required.


===Optional parameters===
=== Optional parameters ===
{| class="wikitable"
{| class="wikitable"
! Options !! Parameters !! Produces...
! Options !! Parameters !! Produces...

Revision as of 22:32, 30 January 2012

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}}