Damir20280 (talk | contribs) (Create /doc subpage for Template:SpoilersWarning) Tag: 2017 source edit |
Noobyguy775 (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> |
<noinclude>{{Documentation subpage}}</noinclude> |
||
;Description |
;Description |
||
: This template is reserved for pages that may contain spoilers. |
: This template is reserved for pages that may contain spoilers. |
||
;Syntax |
;Syntax |
||
Type <code>{{T|SpoilersWarning}}</code> on the page that has the <code>{{T|Spoiler}}</code> template or other game spoilers.<br> |
|||
To '''block''' all contents of the page before clicking the button, add the parameter <code>|block=1</code><br> |
|||
: '''IMPORTANT NOTE:''' Using the block parameter includes an unclosed <code><nowiki><div></nowiki></code> tag. This may not render on some browsers. You can edit what is blocked by closing the div tag (adding <code><nowiki></div></nowiki></code> to where you want the block to end)<br> |
|||
To change the type of page, add the parameter <code>|type=talk page</code> |
|||
; See also |
|||
: [https://urbanshade.org/wiki/Template:Spoiler Spoiler template on the Pressure Wiki] |
|||
<includeonly>[[Category:Notice templates]]</includeonly> |
<includeonly>[[Category:Notice templates]]</includeonly> |
Latest revision as of 08:39, 24 May 2025

This is a template documentation subpage for Template:SpoilerWarning.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
- Description
- This template is reserved for pages that may contain spoilers.
- Syntax
Type
on the page that has the {{SpoilersWarning}}
template or other game spoilers.{{Spoiler}}
To block all contents of the page before clicking the button, add the parameter |block=1
- IMPORTANT NOTE: Using the block parameter includes an unclosed
<div>
tag. This may not render on some browsers. You can edit what is blocked by closing the div tag (adding</div>
to where you want the block to end)
To change the type of page, add the parameter |type=talk page