Template:Collapsible

From HorizonXI Wiki
Revision as of 10:50, 9 September 2023 by Aramachus (talk | contribs) (added option to be expanded by default and extended documentation)


Usage

Inline Text

The next piece of text can be collapsed but is by default expanded: {{ Collapsible | this can be collapsed | state=expanded}}

The next piece of text can be collapsed: this can be collapsed

Lists

Lists need an extra linebreak between the template call and the list element that is supposed to be hidden

*Information here {{ Collapsible |
**more information here
}}
*more list stuff
  • Information here
    • more information here

  • more list stuff

Editing this template

Further info can be found at

e.g. to add custom placement of the toggle element