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 |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content. | |||
== Usage == | == Usage == | ||
<code><nowiki>{{Spoiler|content=This information is a spoiler!}}</nowiki></code> gives: | |||
{{Spoiler|content=This information is a spoiler!}} | |||
== TemplateData == | == TemplateData == | ||
| Line 22: | 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> | ||