Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Spoiler/doc: Difference between revisions

Template page
>MangoFVTT
No edit summary
>MangoFVTT
No edit summary
 
Line 24: Line 24:
}
}
},
},
"description": "Used to hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content.",
"description": "Hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content.",
"format": "block",
"format": "inline"
"paramOrder": [
"content",
"header"
]
}
}
</templatedata>
</templatedata>


<includeonly>[[Category:Utility Templates]]</includeonly>
<includeonly>[[Category:Utility Templates]]</includeonly>

Latest revision as of 11:06, 19 June 2026

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

Usage

{{Spoiler|content=This information is a spoiler!}} gives:

Reveal Spoiler
This information is a spoiler!

TemplateData

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Header textheader

Short descriptive text of the content that is always visible.

Default
Spoiler content
Stringsuggested
Contentcontent

The content that is hidden in the spoiler box

Contentrequired