Search results
Results From The WOW.Com Content Network
This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible. To change this template's initial visibility, the |state= parameter may be used:
A collapsible element contains a toggle a reader can use to show or hide the element's content. Elements are made collapsible by adding the mw-collapsible class, or alternatively by using the {{}} template, or its variants {{Collapse top}} and {{Collapse bottom}}.
A navigational box that can be placed at the bottom of articles. Template parameters [Edit template data] Parameter Description Type Status State state The initial visibility of the navbox Suggested values collapsed expanded autocollapse String suggested Template transclusions Transclusion maintenance Check completeness of transclusions The above documentation is transcluded from Template ...
The documentation for template:sidebar is more complete than the documentation for this template, and almost all (if not all) of the parameters used there work here too. So, I guess one could start from that one as a guide and then just augment it with the extra stuff for this one.
The template has one optional unnamed parameter which is the title used for the collapsed section. {{collapsed infobox section begin|Heading}} If omitted, the template will use the default heading, "Further information". The template has two optional named parameters for adjusting the style. To change the style for the section title, use ...
list is a list of the section/group/etc names (the section[N]name / group[N]name / abbr[N] parameters) given in the template's code; default indicates which, if any, is to be shown expanded by default. If the template has only one collapsible group/section, {{Collapsible section option |name}}
A class can be added to target a specific list either with TemplateStyles or microformats. See Template:Sidebar § Classes. In the context of TemplateStyles, specific list contents can be targeted like so: .templateclass .listnclass .sidebar-list-title for a specific list title and .templateclass .listnclass .sidebar-list for a specific list.
The name of the template. The name of this template, for example, is "Navbox with collapsible groups". state † [uncollapsed, collapsed, plain, off] The initial state of the show/hide feature for the main title. See {} for more information. Does not affect display or hiding of group items, see state n, below. navbar †