Want to contribute? Join the Discord and ask for the editor role.
Template:Spoilers: Difference between revisions
Template page
(testing something) |
mNo edit summary Tag: 2017 source edit |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | {{Mbox | ||
|title=This {{{sectionOrPage|section or page}}} may contain spoilers for {{{whatFor|a series, game, or similar}}}. | |||
|type=notice | |||
|expanded=no}}<noinclude> | |||
{{Documentation}} | |||
} | <templatedata> | ||
</ | { | ||
"description": "Used to indicate spoilers in an article or section.", | |||
"params": { | |||
"sectionOrPage": { | |||
"label": "Section or Page", | |||
"description": "Whether or not the spoiler is for a section or a page.", | |||
"type": "string", | |||
"default": "section or page" | |||
}, | |||
"whatFor": { | |||
"label": "What the spoiler is for", | |||
"description": "What kind of thing the spoiler is for.", | |||
"type": "string", | |||
"default": "a series, game, or similar" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 19:58, 24 May 2022
This section or page may contain spoilers for a series, game, or similar.
This documentation is transcluded from Template:Spoilers/doc. Changes can be proposed in the talk page.
Used to indicate spoilers in an article or section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Section or Page | sectionOrPage | Whether or not the spoiler is for a section or a page.
| String | optional |
What the spoiler is for | whatFor | What kind of thing the spoiler is for.
| String | optional |