Шаблон:Navbox
Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it.
For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.
Expand the below text for usage and other information.
Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
Description
This template should be used in navbox templates, which should be included at the bottom of each page that is linked in the template.
Usage
| Parameter(s) | Usage | Default value(s) |
|---|---|---|
| {{{name}}} | Should be identical to the template's name without namespace. | {{{name}}} |
| {{{title}}} | Sets the title used at the top of the navbox. | {{{title}}} |
| {{{state}}} | Allows you to change the collapsing state of the table. More info. Collapsed is removed while on pages in the Template namespace, to make editing easier. | collapsible |
| {{{titlestyle}}} | Allows custom styling for the title area | None |
| {{{bodystyle}}} | Allows custom styling for the body area | None |
| {{{groupstyle}}} | Allows custom styling for the group area | None |
| {{{liststyle}}} | Allows custom styling for the list area | None |
| {{{group1-20}}} | Adds the heading for the group number specified | {{{group1}}} = {{{group1}}} {{{group2-20}}} = None |
| {{{list1-20}}} | Adds text for the list number specified | {{{list1}}} = {{{list1}}} {{{list2-20}}} = None |
Sample output
{{Navbox
| name = Navbox Name
| title = Navbox Title
| bodyclass = hlist
| group1 = Group 1
| list1 = List 1
| group2 = Group 2
| list2 = {{Navbox|child
| group1 = Group 2.1
| list1 = List 2.1
| group2 = Group 2.2
| list2 = {{Navbox|child
| group1 = Group 2.2.1
| list1 = List 2.2.1
| group2 = Group 2.2.2
| list2 = List 2.2.2
}}
| group3 = Group 2.3
| list3 = List 2.3
}}
| group3 = Group 3
| list3 =
* List 3
* List
* List
}}
| ||||||||||||||||||||||||
Installation Instructions
- Export this template, then import to install it.
Use edit summary:Copied from [[w:c:templates:Шаблон:Navbox]]to properly attribute this template's editors.
- There is no additional installation instructions for this template. If there is any, you may create it at Шаблон:Navbox/install.