Difference between revisions of "Template:Navbar/doc"

From BESA® Wiki
Jump to: navigation, search
m (another)
(Examples: Changed examples so they would produce an error if they were simply copied and pasted from the template page; examples are enclosed with <code>)
Line 23: Line 23:
 
! Optional parameter !! colspan=2 | Produces...
 
! Optional parameter !! colspan=2 | Produces...
 
|-
 
|-
|Makes Tnavbar display in a mini version: <nowiki>{{Tnavbar|Tnavbar|mini=1}}</nowiki> like so. || → || Makes Tnavbar display in a mini version: {{Tnavbar|Tnavbar|mini=1}} like so.  
+
|Makes Tnavbar display in a mini version: <code><nowiki>{{Tnavbar|Template Name|mini=1}}</nowiki></code> like so. || → || Makes Tnavbar display in a mini version: {{Tnavbar|Tnavbar|mini=1}} like so.  
 
|-
 
|-
|<nowiki>{{Tnavbar|Tnavbar|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.
+
|<code><nowiki>{{Tnavbar|Template Name|nodiv=1}}</nowiki></code> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.
 
|-
 
|-
|<nowiki>{{Tnavbar|Tnavbar|mini=1|nodiv=1}}</nowiki> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text.
+
|<code><nowiki>{{Tnavbar|Template Name|mini=1|nodiv=1}}</nowiki></code> Good for "blending" into text. || → || {{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text.
 
|-
 
|-
|<nowiki>No "This box:" text. {{Tnavbar|Tnavbar|plain=1}}</nowiki> || → ||No "This box:" text. {{Tnavbar|Tnavbar|plain=1}}
+
|No "This box:" text. <code><nowiki>{{Tnavbar|Template Name|plain=1}}</nowiki></code> || → ||No "This box:" text. {{Tnavbar|Tnavbar|plain=1}}
 
|-
 
|-
|<nowiki>Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}}</nowiki> || → ||Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}}
+
|Blended no "This box:" text. <code><nowiki>{{Tnavbar|Template Name|plain=1|nodiv=1}}</nowiki></code> || → ||Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}}
 
|}
 
|}
 
<includeonly>
 
<includeonly>

Revision as of 15:57, 31 October 2006


Usage

Copyable empty example: {{Tnavbar|Name of Template|mini= |nodiv= |plain= }} inside a given template to add Tnavbar navigational functionality.

{{Tnavbar|Tnavbar}} gives: Template:Tnavbar

Note to editors

This template is represented across thousands of pages please tread lightly when editing here. Conducting sufficient sandbox testing to establish the validity of edits relative to Tnavbar is strongly encouraged prior to attempting to integrate changes.

Examples

{{Tnavbar|Name of Template|mini= |nodiv= |plain= }}

Required parameters

  • {{Tnavbar|Name of Template}} the template name is required.

Optional parameters

Optional parameter Produces...
Makes Tnavbar display in a mini version: {{Tnavbar|Template Name|mini=1}} like so. Makes Tnavbar display in a mini version: Template:Tnavbar like so.
{{Tnavbar|Template Name|nodiv=1}} Good for "blending" into text. Template:Tnavbar Good for "blending" into text.
{{Tnavbar|Template Name|mini=1|nodiv=1}} Good for "blending" into text. Template:Tnavbar Good for "blending" into text.
No "This box:" text. {{Tnavbar|Template Name|plain=1}} No "This box:" text. Template:Tnavbar
Blended no "This box:" text. {{Tnavbar|Template Name|plain=1|nodiv=1}} Blended no "This box:" text. Template:Tnavbar