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: Difference between revisions

Template page
>MangoFVTT
Created page with "<!-- Template:Spoiler -------------------- --><includeonly><!-- --><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>{{{header|Reveal Spoiler}}}</span><!-- --></summary><!-- --></details><!-- --><div class="template-spoiler-content">{{{content}}}</div><!-- --></div><!-- --><templatestyles src="Tem..."
 
>MangoFVTT
No edit summary
Line 5: Line 5:
--><includeonly><!--
--><includeonly><!--
--><div class="template-spoiler"><!--
--><div class="template-spoiler"><!--
--><details class="template-spoiler-details"><!--
--><div class="template-spoiler-details"><!--
--><summary class="template-spoiler-summary"><!--
--><div 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><!--
--></div><!--
--></details><!--
--></div><!--
--><div class="template-spoiler-content">{{{content}}}</div><!--
--><div class="template-spoiler-content">{{{content}}}</div><!--
--></div><!--
--></div><!--

Revision as of 10:50, 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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Header textheader

Short descriptive text of the content that is always visible.

Default
Spoiler content
Stringsuggested
Contentcontent

The content that is hidden in the spoiler box

Contentrequired