No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
::<code><nowiki>|name=Show My Cool Table And Shit</nowiki></code> | ::<code><nowiki>|name=Show My Cool Table And Shit</nowiki></code> | ||
::<code><nowiki>|id=page_show_my_cool_table|</nowiki></code> | ::<code><nowiki>|id=page_show_my_cool_table|</nowiki></code> | ||
::<code><nowiki>Here is my cool table guice: | ::<code><nowiki>Here is my cool table guice:</nowiki></code> | ||
::<code><nowiki>{{{!}} class{{=}}"wikitable"</nowiki></code> | ::<code><nowiki>{{{!}} class{{=}}"wikitable"</nowiki></code> | ||
::<code><nowiki>! Header 1 !! Header 2</nowiki></code> | ::<code><nowiki>! Header 1 !! Header 2</nowiki></code> | ||
Line 39: | Line 39: | ||
|name=Show My Cool Table And Shit | |name=Show My Cool Table And Shit | ||
|id=page_show_my_cool_table| | |id=page_show_my_cool_table| | ||
Here is my cool table guice: | Here is my cool table guice: | ||
{{{!}} class{{=}}"wikitable" | {{{!}} class{{=}}"wikitable" | ||
! Header 1 !! Header 2 | ! Header 1 !! Header 2 |
Revision as of 16:17, 8 February 2023
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.- HTML tags, see Magic Words.
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
{{!}}-
{{!}} 🦟 {{!}}{{!}} 💩
{{!}}}
{{#tag:br}}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?