Template:Navbar
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Examples
Required parameters
{{navbar|Name of Template}}the template name is required.
Optional parameters
| Options | Parameters | Produces... | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Normal | {{navbar|Template Name}} |
[}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:|e|edit}}]}}{{#if:|]}} | |
| No "This box:" text. | {{navbar|Template Name|plain=1}} |
[}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:|e|edit}}]}}{{#if:|]}} | |
| Short version. | {{navbar|Template Name|mini=1}} |
[}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:1|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:1|e|edit}}]}}{{#if:|]}} | |
| Good for "blending" into text. | {{navbar|Template Name|nodiv=1}} |
Lorem | [}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:|e|edit}}]}}{{#if:|]}} Ipsum |
| Blended, no "This box:" text. | {{navbar|Template Name|plain=1|nodiv=1}} |
Lorem | [}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:|e|edit}}]}}{{#if:|]}} Ipsum |
| Blended, short version. | {{navbar|Template Name|mini=1|nodiv=1}} |
Lorem | [}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:1|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:1|e|edit}}]}}{{#if:|]}} Ipsum |
| For a color option. | {{navbar|Template Name|fontstyle=color:green}} |
[}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:|e|edit}}]}}{{#if:|]}} | |
| With brackets. | {{navbar|Template Name|brackets=1}}
|
[}}
|
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|{{#if:|v|view}}]]{{#if:|| |
#default = Navbar/doc | =
{{#ifeq: |
|
Template:navbar/doc | Navbar/doc
}}}}|action=edit}} {{#if:|e|edit}}]}}{{#if:1|]}} |