Template:Spoiler: Difference between revisions
Template page
More actions
>MangoFVTT No edit summary |
>MangoFVTT No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
--><includeonly><!-- | --><includeonly><!-- | ||
--><div class="template-spoiler"><!-- | --><div class="template-spoiler"><!-- | ||
-->< | --><details class="template-spoiler-details"><!-- | ||
-->< | --><summary class="template-spoiler-summary"><!-- | ||
--><span class="citizen-ui-icon mw-ui-icon-wikimedia-unLock"></span><!-- | --><span class="citizen-ui-icon mw-ui-icon-wikimedia-unLock"></span><!-- | ||
--><span>{{{header|Reveal Spoiler}}}</span><!-- | --><span>{{{header|Reveal Spoiler}}}</span><!-- | ||
--></ | --></summary><!-- | ||
--></ | --></details><!-- | ||
--><div class="template-spoiler-content">{{{content}}}</div><!-- | --><div class="template-spoiler-content">{{{content}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
Latest revision as of 12:07, 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 |