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
Created page with "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. == Usage == == TemplateData == <templatedata> { "params": { "header": { "label": "Header text", "description": "Short descriptive text of the content that is always visible.", "type": "string", "default": "Spoiler content", "suggested": true }, "content": { "label": "Content", "description": "The content that..."
 
>MangoFVTT
No edit summary
Line 2: Line 2:


== Usage ==
== Usage ==
<code><nowiki>{{Spoiler|content=This information is a spoiler!}}</nowiki></code> gives:
{{Spoiler|content=This information is a spoiler!}}


== TemplateData ==
== TemplateData ==

Revision as of 10:48, 19 June 2026

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.

Usage

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

Reveal Spoiler
This information is a spoiler!

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

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