Template:Tnavbar

From SikhiWiki
Revision as of 08:45, 12 September 2006 by Hari singh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
This template documentation is transcluded from Template:Tnavbar/doc [edit]
File:Information icon.svg This template employs some extremely complicated and esoteric features of template syntax.

Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

Usage

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

{{Tnavbar|Tnavbar}} gives: {{#if:| 

|
}}{{#ifeq:|1||This box: }}{{#if:|v·d·e}}{{#if:||viewtalkedit}}{{#if:| |
}}

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|Tnavbar|mini=1}} like so.  |
}}{{#ifeq:1|1
v·d·e}}{{#if:1  |}} like so.
{{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.  |
}}{{#ifeq:|1
v·d·e}}{{#if:  |}} Good for "blending" into text.
{{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text.  |
}}{{#ifeq:1|1
v·d·e}}{{#if:1  |}} Good for "blending" into text.
No "This box:" text. {{Tnavbar|Tnavbar|plain=1}}  |
}}{{#ifeq:1|1
v·d·e}}{{#if:  |}}
Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}}  |
}}{{#ifeq:1|1
v·d·e}}{{#if:  |}}