Template:Navbar/doc
{{#ifeq: navbar/doc | doc
|
{{
#ifeq: show | show
| {{
{{#switch:
{{#if:
|
| {{#if:
|
{{#ifeq:{{namespace:{{{page}}} }}|{{talkspace:{{{page}}} }}
| talk
| {{subjectspace:{{{page}}} }}
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | book = ombox | other | #default = ombox
}}
| type = notice
| image = 40px
| imageright =
| style =
| textstyle =
| text = This is a documentation subpage for Template:Navbar/doc.
It contains usage information, categories, interlanguage links and other content that is not part of the original {{ #if: | {{{text2}}} | {{ #if: | {{{text1}}} | {{ #ifeq: Template | User | template template page | {{ #if: Template |template page|article}}}}}}}}.
| small =
| smallimage =
| smallimageright =
| smalltext =
}}
}}{{
#if:
|
| [[Category:{{
#if: Template
| Template
| Article
}} documentation]]
}}
| }} {{#ifeq:|yes
|| | |
{{#if:{{#if:| {{{smallimage}}} | }}
| {{#if:| {{{smallimage}}} | }}
| [[Image:{{#switch:content
| speedy = Imbox speedy deletion.png
| delete = Imbox deletion.png
| content = Imbox content.png
| style = Edit-clear.svg
| move = Imbox move.png
| protection = Imbox protection.png
| notice
| #default = Imbox notice.png
}} | {{#ifeq:yes|yes
| 30x30px
| 40x40px
}}|link=|alt=]]
}} |
}}
{{#if:| {{{smalltext}}} | This template is used on {{#if: 6,000,000+ | 6,000,000+ |a very large number of}} pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's [[{{#ifeq:Navbar/doc|doc| Template:Navbar/doc | Template:Navbar/doc }}/sandbox|/sandbox]] or [[{{#ifeq:Navbar/doc|doc| Template:Navbar/doc | Template:Navbar/doc }}/testcases|/testcases]] subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on {{#if:|[[{{{2}}}]]|the [[{{#ifeq:Navbar/doc|doc| Template talk:Navbar/doc | Template talk:Navbar/doc }}|talk page]]}} before implementing them. }} |
{{#if: | {{{smallimageright}}} | }} |
| | speedy | delete | content | style | move | protection | notice =
| #default =}}
|| | |
{{#if:
|
| [[Image:{{#switch:content
| speedy = Imbox speedy deletion.png
| delete = Imbox deletion.png
| content = Imbox content.png
| style = Edit-clear.svg
| move = Imbox move.png
| protection = Imbox protection.png
| notice
| #default = Imbox notice.png
}} | {{#ifeq:|yes
| 30x30px
| 40x40px
}}|link=|alt=]]
}} |
}}
This template is used on {{#if: 6,000,000+ | 6,000,000+ |a very large number of}} pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's [[{{#ifeq:Navbar/doc|doc| Template:Navbar/doc | Template:Navbar/doc }}/sandbox|/sandbox]] or [[{{#ifeq:Navbar/doc|doc| Template:Navbar/doc | Template:Navbar/doc }}/testcases|/testcases]] subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on {{#if:|[[{{{2}}}]]|the [[{{#ifeq:Navbar/doc|doc| Template talk:Navbar/doc | Template talk:Navbar/doc }}|talk page]]}} before implementing them. |
| | speedy | delete | content | style | move | protection | notice =
| #default =}} }}
Contents |
Usage
General
Copyable examples when inside a given template adds navbar navigational functionality:
- {{navbar|{{subst:PAGENAME}}|mini=1}}
- {{navbar|{{subst:PAGENAME}}|plain=1}}
- {{navbar|{{subst:PAGENAME}}|fontstyle=color:green}}
The {{subst:PAGENAME}} will be substituted with the template's name when parsed by the servers.
{{navbar|navbar/doc}} gives:
|#default = Template:FULLPAGENAME: navbar/doc | = {{#ifeq: Template:NAMESPACE: navbar/doc | Template:NAMESPACE: Templatenavbar/doc | Template:navbar/doc | Template:PAGENAME: navbar/doc }}
}}|{{#if:|v|view}}]] · [[{{TALKPAGENAME:{{#switch: Template:NAMESPACE: navbar/doc
|#default = Template:FULLPAGENAME: navbar/doc | = {{#ifeq: Template:NAMESPACE: navbar/doc | Template:NAMESPACE: Templatenavbar/doc | Template:navbar/doc | Template:PAGENAME: navbar/doc }}
}}}}|{{#if:|d|talk}}]]{{#if:|| · [{{fullurl:{{#switch: Template:NAMESPACE: navbar/doc
|#default = Template:FULLPAGENAME: navbar/doc | = {{#ifeq: Template:NAMESPACE: navbar/doc | Template:NAMESPACE: Templatenavbar/doc | Template:navbar/doc | Template:PAGENAME: navbar/doc }}
}}|action=edit}} {{#if:|e|edit}}]}}{{#if:|]}}
Examples
Required parameters
{{navbar|Name of Template}}the template name is required.
Optional parameters
Deprecated parameters
The miniv=1, viewplain=1, nodiv=1 and fontcolor= parameters have been deprecated. To use the view-only version, use the {{{{#if:|subst:}}v{{#if:| |{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} or {{{{#if:|subst:}}view{{#if:| |{{{2}}} }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} templates instead.
Prepackaged
- {{Tnavbar-header}}
- Positions v · d · e on the right edge of the line, often used in non-collapsible navbox heading.
- {{Tnavbar-navframe}}
- For use in conjunction with Navframe divs, positions v · d · e opposite of the [hide]/[show] feature.
- {{Tnavbar-collapsible}}
- For use in conjunction with Collapsible tables,floats v · d · e opposite of the [hide]/[show] feature.
See also
- {{Edit}} (plain edit link)
- {{Ed}} (navbar style edit link)
- {{Ed right}} (navbar style edit link aligned to right of page)
- {{Edit section}} (edit link aligned to right of page)
With additional links:
- {{Navbar}}
| Type | CSS classes | Javascript | Collapses when | Custom initial state | Nesting |
|---|---|---|---|---|---|
| Collapsible tables | collapsible | Defined in Common.js | 2 or more autocollapse on page | Yes | Yes |


Fantasy Football
Fantasy Baseball
Fantasy Basketball
Fantasy Hockey
Fantasy Cafe Wiki