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..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
''' | '''<span style="color:red;font-weight:bold;font-size:2em;>DONT USE THIS TEMPLATE!</span>''' | ||
'''''Use [[Template:Collapsed]] template.''''' | |||
'''To hide things behind a button: [https://mediawiki.org/wiki/Extension:Tabs/Usage#Usage Tabs]''' | |||
---- | |||
Hide things behind a button. | Hide things behind a button. | ||
==Usage== | ==Usage== |
Latest revision as of 15:52, 27 May 2025
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?