More actions
Created page with "'''''Use [https://mediawiki.org/wiki/Extension:Tabs/Usage#Usage Tabs] instead.''''' Hide things behind a button. ==Usage== ::<code><nowiki>{{Collapse</nowiki></code><br> ::<code>|name=</code><br> ::<code>|id=|</code><br> ::<code>(hidden things)</code><br> ::<code>}}</code></code> ==Important== <code>|id=|</code> must contain a unique name (it is wiki wide) with '''''no spaces'''''. If the content inside the button contains: * <code><nowiki>|</nowiki></code> use <code..." |
m Wioum moved page Subst:PAGENAME/Doc to Template:Collapse/Doc without leaving a redirect |
||
(No difference)
| |||
Revision as of 16:28, 7 September 2023
Use Tabs instead.
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?