Difference between revisions of "Template:CollapsibleLevel2"

From The Star Wars Minute Wiki
Jump to navigation Jump to search
Line 35: Line 35:


{|
{|
|<pre>{{CollapsibleLevel2|My Heading}}
|<pre>{{CollapsibleLevel2|Another Heading}}
* Pete
* Pete
* Alex
* Alex
Line 41: Line 41:
* The Thax
* The Thax
{{EndCollapsibleLevel2}}</pre>
{{EndCollapsibleLevel2}}</pre>
|{{CollapsibleLevel2|My Heading}}<br />
|{{CollapsibleLevel2|Another Heading}}<br />
* Pete<br />
* Pete<br />
* Alex<br />
* Alex<br />

Revision as of 06:03, 9 April 2018

To use this, do something like this:

{{CollapsibleLevel2|My Fancy Heading|UniqueIndentifier}}
* Pete
* Alex
* ToCo
* The Thax
{{EndCollapsibleLevel2}}

My Fancy Heading


  • Pete
  • Alex
  • ToCo
  • The Thax

The unique identifier cannot contains spaces. If it is skipped, the title is used:

{{CollapsibleLevel2|MyHeading}}
* Pete
* Alex
* ToCo
* The Thax
{{EndCollapsibleLevel2}}

MyHeading


  • Pete
  • Alex
  • ToCo
  • The Thax

If the unique identifier is skipped and the title has spaces in, the link will not work and a separate "Expand" link will be added:

{{CollapsibleLevel2|Another Heading}}
* Pete
* Alex
* ToCo
* The Thax
{{EndCollapsibleLevel2}}

Another Heading


  • Pete
  • Alex
  • ToCo
  • The Thax