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

Template page
>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:
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.
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": "Used to hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content.",
"description": "Hide content in a spoiler box. User can click the expand button to expand the spoiler box to see the content.",
"format": "block",
"format": "inline"
"paramOrder": [
"content",
"header"
]
}
}
</templatedata>
</templatedata>


<includeonly>[[Category:Utility Templates]]</includeonly>
<includeonly>[[Category:Utility Templates]]</includeonly>