Template:Collapsible section

From Guild Wars 2 Wiki
Jump to navigationJump to search

Header text

this is the text content

Description[edit]

Usage[edit]

{{Collapsible section|<h2> Header text </h2>|
content
}}

This template is a short-hand for creating collapsible content using mw:Manual:Collapsible elements.

Parameters[edit]

1 (unnamed parameter)
Required. The header text.
2 (unnamed parameter)
Required. The content to hide.
class
Optional. The CSS class to apply to the container div element.
  • Examples:
    • toccolours — puts a box around the content
style
Optional. The HTML style to apply to the container div element.
  • Examples:
    • style=max-width: 70em — moves the "show" button closer to the left.
content style
Optional. The HTML style to apply to the content div element.