FANDOM


 
Navbox title?
[edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)

Examples

Typical

This should be used when you wish to use this Navbox to create a new template. Simply copy the below code into the new template's page and change the parameters. It's recommended to leave name, uncollapsed, open and nowraplinks unmodified once copied onto the new template's page to allow the new template's user to have greater control. name will automatically change itself.

{{Navbox collapsible

|name = {{subst:PAGENAME}}
|uncollapsed = {{{uncollapsed|all}}}
|open = {{{open|<noinclude>1</noinclude>}}}
|nowraplinks = {{{nowraplinks|{{{Nowraplinks|yes}}}}}}

|title = Title goes here

|headerA = Header A
|contentA = Content A
|headerB = Header B
|contentB = Content B 
|headerC = Header C
|contentC = Content C

|footer = Footer Text
|footeralign = center

}}

Title goes here

Selective section opening

The box is open but only Sections A and C are uncollapsed.

{{Navbox collapsible

|name = 
|title = This is initially open
|uncollapsed = AC
|open = 1

|headerA = This is initially uncollapsed
|contentA = This is initially uncollapsed
|headerB = This is initially collapsed
|contentB = This is initially collapsed
|headerC = This is initially uncollapsed
|contentC = This is initially uncollapsed


}}
 
This is initially open

Width & Footer

Set Width and footer text

{{Navbox collapsible
|name= 
|title= Title Text
|footer=Footer Text

|width = 100%
|headerA= Header A
|contentA = Content A

|headerB = Header B
|contentB = Content B
}}


 
Title Text

Parameters

  • name
    • enter to enable the view/discuss/edit buttons
  • title
    • Title content
  • open
    • set to anything to open the template. It is closed by default.
  • uncollapsed
    • enter "all" to set all sections to open enter the section letters (in UPPERCASE) to open individual sections or "none" to close all section (default).
    • CASE IS IMPORTANT!
  • width
    • Sets width
  • footer
    • Footer content
  • footeralign
    • Alignment of footer content

Documentation transcluded from Template:Navbox collapsible/doc.
Community content is available under CC-BY-SA unless otherwise noted.