Difference between revisions of "Template:Navbar/doc"

From BESA® Wiki
Jump to: navigation, search
m (Updated with the template for /doc pages)
(Usage: Name of Template -> {{subst:{{PAGENAME}}}})
Line 11: Line 11:
 
==Usage==
 
==Usage==
 
Copyable empty examples:
 
Copyable empty examples:
:<nowiki>{{Tnavbar|Name of Template|mini=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
:<nowiki>{{Tnavbar|Name of Template|plain=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|plain=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
:<nowiki>{{Tnavbar|Name of Template|mini=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
:<nowiki>{{Tnavbar|Name of Template|plain=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
:<nowiki>{{Tnavbar|Name of Template|miniv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|miniv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
:<nowiki>{{Tnavbar|Name of Template|viewplain=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|viewplain=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
:<nowiki>{{Tnavbar|Name of Template|miniv=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|miniv=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
:<nowiki>{{Tnavbar|Name of Template|viewplain=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
+
:<nowiki>{{Tnavbar|{{subst:PAGENAME}}|viewplain=1|nodiv=1}}</nowiki> inside  a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality.  
 
<br>
 
<br>
 +
:The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template's name when parsed by the servers.
 
:<nowiki>{{Tnavbar|Tnavbar/doc}}</nowiki> gives: {{Tnavbar|Tnavbar/doc}}
 
:<nowiki>{{Tnavbar|Tnavbar/doc}}</nowiki> gives: {{Tnavbar|Tnavbar/doc}}
  

Revision as of 02:22, 26 November 2006

Template:Template doc page viewed directly


Tnavbar : Template navigation bar



Usage

Copyable empty examples:

{{Tnavbar|{{subst:PAGENAME}}|mini=1}} inside a given template to add Tnavbar navigational functionality.
{{Tnavbar|{{subst:PAGENAME}}|plain=1}} inside a given template to add Tnavbar navigational functionality.
{{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}} inside a given template to add Tnavbar navigational functionality.
{{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}} inside a given template to add Tnavbar navigational functionality.
{{Tnavbar|{{subst:PAGENAME}}|miniv=1}} inside a given template to add Tnavbar navigational functionality.
{{Tnavbar|{{subst:PAGENAME}}|viewplain=1}} inside a given template to add Tnavbar navigational functionality.
{{Tnavbar|{{subst:PAGENAME}}|miniv=1|nodiv=1}} inside a given template to add Tnavbar navigational functionality.
{{Tnavbar|{{subst:PAGENAME}}|viewplain=1|nodiv=1}} inside a given template to add Tnavbar navigational functionality.


The {{subst:PAGENAME}} will be substituted with the template's name when parsed by the servers.
{{Tnavbar|Tnavbar/doc}} 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= }}

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
For a simpler access option. {{Tnavbar|Template Name|miniv=1}} For a simpler access option. Template:Tnavbar
For a fuller simpler access option. {{Tnavbar|Template Name|viewplain=1}} For a fuller simpler access option. Template:Tnavbar