Difference between revisions of "Template:CollapsibleLevel2"
Jump to navigation
Jump to search
Spookypeanut (talk | contribs) (Not quite working yet...) |
Spookypeanut (talk | contribs) |
||
Line 2: | Line 2: | ||
To use this, do something like this: | To use this, do something like this: | ||
{| | {| | ||
|<pre>{{CollapsibleLevel2|My Fancy Heading}} | |<pre>{{CollapsibleLevel2|My Fancy Heading|UniqueIndentifier}} | ||
* Pete | * Pete | ||
* Alex | * Alex | ||
Line 8: | Line 8: | ||
* The Thax | * The Thax | ||
{{EndCollapsibleLevel2}}</pre> | {{EndCollapsibleLevel2}}</pre> | ||
|{{CollapsibleLevel2|My Fancy Heading}}<br /> | |{{CollapsibleLevel2|My Fancy Heading|UniqueIdentifier}}<br /> | ||
* Pete<br /> | * Pete<br /> | ||
* Alex<br /> | * Alex<br /> | ||
Line 15: | Line 15: | ||
{{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. | |||
</noinclude> | </noinclude> | ||
<includeonly>==<span class="mw-customtoggle-{{{ | <includeonly>==<span class="mw-customtoggle-{{{2}}}" style="cursor: pointer; color: blue; text-decoration: underline;">{{{1}}}</span>== | ||
<div id="mw-customcollapsible-{{{ | <div id="mw-customcollapsible-{{{2}}}" class="mw-collapsible mw-collapsed"></includeonly> |
Revision as of 06:01, 9 April 2018
To use this, do something like this:
{{CollapsibleLevel2|My Fancy Heading|UniqueIndentifier}} * Pete * Alex * ToCo * The Thax {{EndCollapsibleLevel2}} |
My Fancy Heading
|
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.