Template:Spoiler/doc: Difference between revisions
Template page
More actions
>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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | content | The content that is hidden in the spoiler box | Content | required |
| Header text | header | Short descriptive text of the content that is always visible.
| String | suggested |