Template:Spoiler box: Difference between revisions

Template page
(Created page with "<includeonly><div class="spoilerbox mw-collapsible mw-collapsed"> <div class="spoilerbox-header">{{#if:{{{header|}}}|{{{header}}}|Spoiler content}}</div> <div class="spoilerbox-content mw-collapsible-content">{{#if:{{{content|}}}|{{{content}}}|The <code>content</code> parameter is empty.}}</div> </div><templatestyles src="Template:Spoiler box/styles.css"/></includeonly><noinclude>{{/doc}}</noinclude>")
m (1 revision imported)
 
(No difference)

Latest revision as of 00:26, 23 May 2024

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Spoiler box/doc. Changes can be proposed in the talk page.

This template is used to hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content.

TemplateData

Used to hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Contentcontent

The content that is hidden in the spoiler box

Contentrequired
Header textheader

Short descriptive text of the content that is always visible.

Default
Spoiler content
Stringsuggested