Template:Spoiler/doc
< Template:Spoiler
Jump to navigation
Jump to search
Revision as of 17:38, 26 June 2023 by Psojed (talk | contribs) (Created page with "{{Doc/start}} This template uses the <code>class=mw-collapsible</code> to create a simple Spoiler functionality. For more details, see: [https://www.mediawiki.org/wiki/Manual:Collapsible_elements Manual:Collapsible elements]. Usage: Copy this code anywhere you want to have the spoiler. <nowiki> {{Spoiler|text}}</nowiki> *Currently the template only supports a single spoiler per page. If you add more than one, they will both open/close at the same time. {{Spoiler| {{=...")
Documentation
[purge]
This template uses the class=mw-collapsible
to create a simple Spoiler functionality. For more details, see: Manual:Collapsible elements.
Usage: Copy this code anywhere you want to have the spoiler.
{{Spoiler|text}}
- Currently the template only supports a single spoiler per page. If you add more than one, they will both open/close at the same time.
Show spoilerHide spoiler
First spoiler
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse condimentum est vitae massa semper, vel iaculis urna euismod. Sed posuere fermentum ipsum eget pellentesque. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nullam aliquet consequat sem, sed mattis risus imperdiet in. Ut nec mauris pretium, iaculis justo id, condimentum dui. Aenean congue pretium porttitor. Curabitur auctor tristique justo. Maecenas congue felis interdum quam blandit convallis. Suspendisse sed elit eu turpis sagittis convallis. Pellentesque interdum sit amet quam at maximus. Morbi ullamcorper, sapien nec dictum consequat, leo enim commodo libero, sit amet vulputate odio dui vitae erat. Ut fermentum tortor id ultrices elementum. Suspendisse potenti. Nulla a elit nec lacus ornare lacinia in nec enim. Sed accumsan enim vitae euismod ullamcorper.
Show spoilerHide spoiler