Difference between revisions of "Template:CollapsibleLevel2"
Jump to navigation
Jump to search
Spookypeanut (talk | contribs) |
Spookypeanut (talk | contribs) |
||
Line 16: | Line 16: | ||
|} | |} | ||
The unique identifier cannot contains spaces. If it is skipped, the title is used | The unique identifier cannot contains spaces. If it is skipped, the title is used: | ||
{| | |||
|<pre>{{CollapsibleLevel2|MyHeading}} | |||
* Pete | |||
* Alex | |||
* ToCo | |||
* The Thax | |||
{{EndCollapsibleLevel2}}</pre> | |||
|{{CollapsibleLevel2|MyHeading}}<br /> | |||
* Pete<br /> | |||
* Alex<br /> | |||
* ToCo<br /> | |||
* The Thax<br /> | |||
{{EndCollapsibleLevel2}} | |||
|} | |||
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: | |||
{| | |||
|<pre>{{CollapsibleLevel2|My Heading}} | |||
* Pete | |||
* Alex | |||
* ToCo | |||
* The Thax | |||
{{EndCollapsibleLevel2}}</pre> | |||
|{{CollapsibleLevel2|My Heading}}<br /> | |||
* Pete<br /> | |||
* Alex<br /> | |||
* ToCo<br /> | |||
* The Thax<br /> | |||
{{EndCollapsibleLevel2}} | |||
|} | |||
</noinclude> | </noinclude> | ||
<includeonly>==<span class="mw-customtoggle-{{{2}}}" style="cursor: pointer; color: blue; text-decoration: underline;">{{{1}}}</span>== | <includeonly>==<span class="mw-customtoggle-{{{2|1}}}" style="cursor: pointer; color: blue; text-decoration: underline;">{{{1}}}</span>== | ||
<div id="mw-customcollapsible-{{{2}}}" class="mw-collapsible mw-collapsed"></includeonly> | <div id="mw-customcollapsible-{{{2|1}}}" class="mw-collapsible mw-collapsed"></includeonly> |
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
|
The unique identifier cannot contains spaces. If it is skipped, the title is used:
{{CollapsibleLevel2|MyHeading}} * Pete * Alex * ToCo * The Thax {{EndCollapsibleLevel2}} |
MyHeading
|
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|My Heading}} * Pete * Alex * ToCo * The Thax {{EndCollapsibleLevel2}} |
My Heading
|