More actions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{:Collapse/Doc}} | {{:Template:Collapse/Doc}} | ||
<onlyinclude><span class="mw-customtoggle-{{{id}}}"><span style="display:block"><span style="color:var(--color-primary);font-weight:bold;display:inline">{{{name}}}</span></span> | <onlyinclude><span class="mw-customtoggle-{{{id}}}"><span style="display:block"><span style="color:var(--color-primary);font-weight:bold;display:inline">{{{name}}}</span></span> | ||
<div class="mw-collapsible mw-collapsed" style="margin-top:-25px;overflow:auto;" id="mw-customcollapsible-{{{id}}}"> {{{1}}}</div></onlyinclude> | <div class="mw-collapsible mw-collapsed" style="margin-top:-25px;overflow:auto;" id="mw-customcollapsible-{{{id}}}"> {{{1}}}</div></onlyinclude> | ||
Revision as of 16:29, 7 September 2023
DONT USE THIS TEMPLATE!
Use Template:Collapsed template.
To hide things behind a button: Tabs
Hide things behind a button.
Usage
{{Collapse|name=|id=|(hidden things)}}
Important
|id=| must contain a unique name (it is wiki wide) with no spaces.
If the content inside the button contains:
|use{{!}}instead.=use{{=}}instead.
Example
----{{Collapse|name=Show My Cool Table And Shit|id=page_show_my_cool_table|Here is my cool table guice:{{{!}} class{{=}}"wikitable"! Header 1 !! Header 2{{!}}-{{!}} Cool stuff {{!}}{{!}} Awesome{{!}}-{{!}} Less rad stuff {{!}}{{!}} Still awesome{{!}}-{{!}} 🦟 {{!}}{{!}} 💩{{!}}}Wat you guys think?}}----
Result:
Show My Cool Table And Shit
Here is my cool table guice:
| Header 1 | Header 2 |
|---|---|
| Cool stuff | Awesome |
| Less rad stuff | Still awesome |
| 🦟 | 💩 |
Wat you guys think?
{{{name}}}
{{{1}}}