Template:Navbox/doc
This is a documentation subpage for Template:Navbox. It contains usage information, categories, and other content that is not part of the original template page. |
Uses Lua: |
This template is used on approximately 18,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
edit- For main navboxes
-
- name=pagename (of template)
- state=[collapsed|autocollapse]
- border=[none|plain]
- bodyclass=, bodystyle=, style=
- innerstyle=
- basestyle= (for all cells)
- title cell
- titleclass=, titlestyle=
- title=title (required, not collapsible)
- navbar=[off|plain] (if name specified)
- For inner navboxes
-
- name=pagename (if in a subtemplate)
- border=subgroup|child
- bodyclass=, bodystyle=, style=
- innerstyle=
- basestyle= (for all cells)
- title cell (optional, in row 1)
- titlegroupclass=, titlegroupstyle=
- titlegroup=subtitle
- navbar=[off|plain] (if name specified)
- Content cell above the list of groups
-
- aboveclass=, abovestyle=
- above=content
- Styles of group headers
-
- groupclass=, groupstyle=
- groupwidth=
- Styles of group lists
-
- listclass=, liststyle=
- evenstyle=, oddstyle=
- list1padding=[yes], listpadding=[yes]
- Images in row 1, spanning all rows except title
-
- imageclass=
- imageleftstyle=, imageleft=
- imagestyle=, image=
- For each group (n>=1)
-
- groupn=header
- listnstyle=
- listn=list content or
inner navbox
- Content cell below the list of groups
-
- belowclass=, belowstyle=
- below=content
Dependencies
edit