Jump to content

Template:Navbox/doc

From Meta, a Wikimedia project coordination wiki

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]