No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
If the content inside the button contains: | If the content inside the button contains: | ||
* <code><nowiki>|</nowiki></code> | * <code><nowiki>|</nowiki></code> use <code><nowiki>{{!}}</nowiki></code> instead. | ||
* <code><nowiki>=</nowiki></code> | * <code><nowiki>=</nowiki></code> use <code><nowiki>{{=}}</nowiki></code> instead. | ||
==Example== | ==Example== |
Revision as of 16:18, 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.
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?