Template:Collapsible Content: Difference between revisions

From HorizonXI Wiki
(Created page with "<includeonly><onlyinclude><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{identifier}}}"> {{{1}}} </div></onlyinclude></includeonly>")
 
No edit summary
Line 1: Line 1:
<includeonly><onlyinclude><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{identifier}}}">
<includeonly><onlyinclude><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{identifier}}}">{{{1}}}</div></onlyinclude></includeonly>
{{{1}}}
==Usage==
</div></onlyinclude></includeonly>
 
Functions together with [[:Template:Collapsible Toggle]]
 
Parameters:
* identifier: necessary. Needs to have the same identifier as the Collapsible-Toggle element that is supposed to toggle this content.
 
===Example===
 
<pre>
Here is the {{Collapsible Toggle|identifier=toggle1}} for the element below.
 
This one: {{Collapsible Content|identifier=toggle1|Its a list with
* one
* two
* three
elements.}}
And this is below the collapsible content.
</pre>
 
Here is the {{Collapsible Toggle|identifier=toggle1}} for the element below.
 
This one: {{Collapsible Content|identifier=toggle1|Its a list with
* one
* two
* three
elements.}}
And this is below the collapsible content.

Revision as of 16:55, 27 November 2023

Usage

Functions together with Template:Collapsible Toggle

Parameters:

  • identifier: necessary. Needs to have the same identifier as the Collapsible-Toggle element that is supposed to toggle this content.

Example

Here is the {{Collapsible Toggle|identifier=toggle1}} for the element below. 

This one: {{Collapsible Content|identifier=toggle1|Its a list with
* one
* two
* three
elements.}}
And this is below the collapsible content. 

Here is the [toggle] for the element below.

This one:

Its a list with
  • one
  • two
  • three
elements.

And this is below the collapsible content.