Difference between revisions of "Template:Spoiler/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Changed category.)
(rewritten)
Line 1: Line 1:
;Description
+
__NOTOC__
:This template is used to mark a page as having major spoilers. This should only be used on a wiki if most users wish to see it.
+
== Description ==
;Syntax
+
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.
:Type <code>{{t|spoiler}}</code> somewhere.
 
;Sample output
 
:<code><nowiki>{{spoiler}}</nowiki></code> gives...
 
  
{{spoiler}}
+
== 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|{{PAGENAME}}]]</noinclude>
+
<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|section = 1}}

See also

Content

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:
    • {{Disambig}} for marking pages that are ambiguous.
    • {{Merge}} for marking pages that should be merged.
    • {{Move}} for marking pages or sections that should be moved.
    • {{Rewrite}} for marking pages or sections that should be rewritten.
    • {{Recode}} for marking templates or pages that need to be recoded.
  • 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.