Difference between revisions of "Template:Collapsible"

From FBSA Wiki
Jump to navigation Jump to search
Line 7: Line 7:
|}</includeonly><noinclude>
|}</includeonly><noinclude>


No Settings
{{Collapsible|This collapses!}}
{{Collapsible|This collapses!}}
Header
{{Collapsible|Neat!|header="This is a header!"}}
{{Collapsible|Neat!|header="This is a header!"}}
Footer
{{Collapsible|Cool!|footer="This is a footer!"}}
{{Collapsible|Cool!|footer="This is a footer!"}}
Header with footer
{{Collapsible|Awesome!|header="This is a header with a footer!"|footer="The aforementioned footer!"}}
{{Collapsible|Awesome!|header="This is a header with a footer!"|footer="The aforementioned footer!"}}



Revision as of 21:37, 13 April 2022


No Settings

   
This collapses!

Header

"This is a header!"   
Neat!

Footer

   
Cool!
"This is a footer!"

Header with footer

"This is a header with a footer!"   
Awesome!
"The aforementioned footer!"

Adaptation of Template:Spoilers using MediaWiki collapsible tables to keep the information concealed unless the reader specifically expands the section to read them. I basically just copy-pasted what they did and added additional parameters so you can put in whatever you want.