Dare to try out the Harvest Festival 2024!?
Template:Collapsible: Difference between revisions
From HorizonXI Wiki
mNo edit summary |
m (extended documentation) |
||
Line 1: | Line 1: | ||
<includeonly><span class="mw-collapsible mw-collapsed"><span class="mw-collapsible-content">{{{1}}}</span></span></includeonly> | <includeonly><onlyinclude><span class="mw-collapsible mw-collapsed"><span class="mw-collapsible-content">{{{1}}}</span></span></onlyinclude></includeonly> | ||
==Usage== | |||
===Inline Text=== | |||
<pre>The next piece of text is collapsed {{ Collapsible | this is collapsed }}</pre> | <pre>The next piece of text is collapsed {{ Collapsible | this is collapsed }}</pre> | ||
The next piece of text is collapsed {{ Collapsible | this is collapsed }} | The next piece of text is collapsed {{ Collapsible | this is collapsed }} | ||
===Lists=== | |||
Lists need an extra linebreak between the template call and the list element that is supposed to be hidden | |||
<pre>The next piece of text is collapsed {{ Collapsible | this is collapsed }}</pre> | |||
*Information here {{ Collapsible | | *Information here {{ Collapsible | | ||
**more information here | **more information here | ||
}} | }} | ||
*more list stuff |
Revision as of 10:37, 9 September 2023
Usage
Inline Text
The next piece of text is collapsed {{ Collapsible | this is collapsed }}
The next piece of text is collapsed this is collapsed
Lists
Lists need an extra linebreak between the template call and the list element that is supposed to be hidden
The next piece of text is collapsed {{ Collapsible | this is collapsed }}
- Information here
- more information here
- more list stuff