Template documentation (for the template shown above, sometimes hidden or invisible)

This template creates a section of collapsible and expandable content.

Usage

{{Collapsible content|style=font-family:verdana;|style hidden=font-family:arial;|show=Click to see more...|hide=Close|
*Content placed here will always show on page load. This section accepts [[Help:Wikitext|wiki markup language]].
|
*Content placed here will always be hidden on page load and only show when the "expand" link is clicked. This section also accepts [[Help:Wikitext|wiki markup language]].
}}

Parameters

Required
<unnamed1>
Content that you wish to always show on page load.
Optional
<unnamed2>
Content that you wish to show hidden on page load, but be visible once the "expand" link is clicked.
Optional
show
Text defined in this parameter will overwrite the standard mw-collapsible "expand" link text.
Optional
hide
Text defined in this parameter will overwrite the standard mw-collapsible "collapse" link text.
Optional
style
CSS style elements placed here will effect the non-collapsible content section, and the collapsible content section if {{{style hidden}}} is not defined.
Optional
style hidden
CSS style elements placed here will effect the collapsed on page load content section only.

Examples

{{Collapsible content|
*Content placed here will always show on page load. This section accepts [[Help:Wikitext|wiki markup language]].
|
*Content placed here will always be hidden on page load and only show when the "expand" link is clicked. This section also accepts [[Help:Wikitext|wiki markup language]].
}}

results in:

  • Content placed here will always be hidden on page load and only show when the "expand" link is clicked. This section also accepts wiki markup language.
{{Collapsible content|style=font-family:verdana;|style hidden=font-family:arial;|show=Click to see more...|hide=Close|
*Content placed here will always show on page load. This section accepts [[Help:Wikitext|wiki markup language]].
|
*Content placed here will always be hidden on page load and only show when the "expand" link is clicked. This section also accepts [[Help:Wikitext|wiki markup language]].
}}

results in:

  • Content placed here will always be hidden on page load and only show when the "expand" link is clicked. This section also accepts wiki markup language.
Documentation transcluded from Template:Collapsible content/doc.
Community content is available under CC-BY-SA unless otherwise noted.