Difference between revisions of "Template:CollapsibleLevel2"

From The Star Wars Minute Wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 2: Line 2:
To use this, do something like this:
To use this, do something like this:
{|
{|
|<pre>{{CollapsibleLevel2|My Fancy Heading|UniqueIndentifier}}
|<pre>{{CollapsibleLevel2|My Fancy Heading}}
* Pete
* Pete
* Alex
* Alex
Line 8: Line 8:
* The Thax
* The Thax
{{EndCollapsibleLevel2}}</pre>
{{EndCollapsibleLevel2}}</pre>
|{{CollapsibleLevel2|My Fancy Heading|UniqueIdentifier}}<br />
|{{CollapsibleLevel2|My Fancy Heading}}
* Pete<br />
* Pete
* Alex<br />
* Alex
* ToCo<br />
* ToCo
* The Thax<br />
* The Thax
{{EndCollapsibleLevel2}}
{{EndCollapsibleLevel2}}
|}
|}


The unique identifier cannot contains spaces. If it is skipped, the title is used. If it has spaces in, the link will not work and a separate "Expand" link will be added.
[[Category:Wiki]]
</noinclude>
 
<includeonly>==<span class="mw-customtoggle-{{{2}}}" style="cursor: pointer; color: blue; text-decoration: underline;">{{{1}}}</span>==
</noinclude><includeonly>
<div id="mw-customcollapsible-{{{2}}}" class="mw-collapsible mw-collapsed"></includeonly>
<h3><span class="mw-customtoggle-{{anchorencode:{{{2|{{{1}}}}}}}}" style="cursor: pointer; color: blue; text-decoration: underline;">{{{1}}}</span></h3>
<div id="mw-customcollapsible-{{anchorencode:{{{2|{{{1}}}}}}}}" class="mw-collapsible mw-collapsed"></includeonly>

Latest revision as of 12:38, 28 June 2021

To use this, do something like this:

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

My Fancy Heading

  • Pete
  • Alex
  • ToCo
  • The Thax