Difference between revisions of "Template:Spoiler/doc"
Jump to navigation
Jump to search
(Changed category.) |
(rewritten) |
||
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
− | + | == Description == | |
− | + | This template is used to mark a page or a section as having major spoilers. This should only be used if most users wish to see it. | |
− | |||
− | |||
− | |||
− | {{ | + | == Parameters == |
+ | This template has no mandatory parameters. | ||
+ | |||
+ | === "section" parameter === | ||
+ | Setting this parameter to any value (e.g. <code><nowiki>{{Spoiler|section = 1}}</nowiki></code>) will change the message from "page" to "section". | ||
+ | |||
+ | == Examples == | ||
+ | <code><nowiki>{{Spoiler}}</nowiki></code> | ||
+ | {{Spoiler}} | ||
+ | |||
+ | <code><nowiki>{{Spoiler|section = 1}}</nowiki></code> | ||
+ | {{Spoiler|section = 1}} | ||
+ | |||
+ | == See also == | ||
+ | === Content === | ||
+ | * {{T|Biotech}} for marking content from [[Biotech (DLC)]] {{BiotechIcon}}. | ||
+ | * {{T|Ideology}} for marking content from [[Ideology (DLC)]] {{IdeologyIcon}}. | ||
+ | * {{T|Royalty}} for marking content from [[Royalty (DLC)]] {{RoyaltyIcon}}. | ||
+ | * {{T|Console}} for marking content from the [[console edition]] {{ConsoleIcon}}. | ||
+ | * {{T|Spoiler}} for marking potential spoilers. | ||
+ | |||
+ | === Maintenance === | ||
+ | * Incomplete pages/sections: | ||
+ | ** {{T|Documentation wanted}} for marking templates without documentation. | ||
+ | ** {{T|Image wanted}} for marking pages or sections that are missing images. | ||
+ | ** {{T|Stub}} for marking incomplete pages or sections. | ||
+ | * Request major changes: | ||
+ | ** {{T|Disambig}} for marking pages that are ambiguous. | ||
+ | ** {{T|Merge}} for marking pages that should be merged. | ||
+ | ** {{T|Move}} for marking pages or sections that should be moved. | ||
+ | ** {{T|Rewrite}} for marking pages or sections that should be rewritten. | ||
+ | ** {{T|Recode}} for marking templates or pages that need to be recoded. | ||
+ | * Deletion: | ||
+ | ** {{T|Delete}} for marking pages that should be deleted. | ||
+ | ** {{T|Obsolete}} for marking pages that are outdated. | ||
+ | ** {{T|Safe to delete}} for marking pages that are ready to be deleted. | ||
+ | ** {{T|SpeedyDelete}} for marking pages that should be deleted as fast as possible. | ||
<includeonly>[[Category:Notice templates]]</includeonly> | <includeonly>[[Category:Notice templates]]</includeonly> | ||
− | <noinclude>[[Category:Template documentation | + | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 11:48, 2 November 2022
Description
This template is used to mark a page or a section as having major spoilers. This should only be used if most users wish to see it.
Parameters
This template has no mandatory parameters.
"section" parameter
Setting this parameter to any value (e.g. {{Spoiler|section = 1}}
) will change the message from "page" to "section".
Examples
{{Spoiler}}
Spoiler warning: This page may contain details about the gameplay that might be considered spoilers. If you wish to enjoy the content first hand, you probably shouldn't continue reading beyond this point. |
{{Spoiler|section = 1}}
Spoiler warning: This section may contain details about the gameplay that might be considered spoilers. If you wish to enjoy the content first hand, you probably shouldn't continue reading beyond this point. |
See also
Content
- {{Biotech}} for marking content from Biotech (DLC) .
- {{Ideology}} for marking content from Ideology (DLC) .
- {{Royalty}} for marking content from Royalty (DLC) .
- {{Console}} for marking content from the console edition .
- {{Spoiler}} for marking potential spoilers.
Maintenance
- Incomplete pages/sections:
- {{Documentation wanted}} for marking templates without documentation.
- {{Image wanted}} for marking pages or sections that are missing images.
- {{Stub}} for marking incomplete pages or sections.
- Request major changes:
- Deletion:
- {{Delete}} for marking pages that should be deleted.
- {{Obsolete}} for marking pages that are outdated.
- {{Safe to delete}} for marking pages that are ready to be deleted.
- {{SpeedyDelete}} for marking pages that should be deleted as fast as possible.