Template:Navbar/doc: Difference between revisions
>Aeliren Created page with "== Examples == ===Required parameters=== *<code><nowiki>{{navbar|Name of Template}}</nowiki></code> the template name is required. ===Optional parameters=== {| class="wikitab..." |
(No difference)
|
Latest revision as of 02:24, 20 January 2022
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|]}} |