Template:Spoiler/doc: Difference between revisions
Template page
More actions
>MangoFVTT No edit summary |
>MangoFVTT No edit summary |
||
| Line 24: | Line 24: | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content.", | ||
"format": " | "format": "inline" | ||
} | } | ||
</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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Header text | header | Short descriptive text of the content that is always visible.
| String | suggested |
| Content | content | The content that is hidden in the spoiler box | Content | required |