Template:Navbar/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(copying from wikipedia via wowwiki)
 
No edit summary
Tag: sourceedit
 
(3 intermediate revisions by one other user not shown)
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...
Line 28: Line 28:
<!--- PLEASE ADD METADATA TO THE <includeonly> SECTION HERE --->
<!--- PLEASE ADD METADATA TO THE <includeonly> SECTION HERE --->
<includeonly>
<includeonly>
[[Category:Navigation templates|{{PAGENAME}}]]
[[ru:Шаблон:НавШапУпр]]
[[ru:Шаблон:НавШапУпр]]
</includeonly>
</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:04, 4 February 2017

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