Difference between revisions of "Template:Spoiler/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Changed category.)
 
(One intermediate revision by the same user not shown)
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 no longer relevant to the current game version.
 +
** {{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>

Latest revision as of 11:51, 2 November 2022

Description[edit]

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[edit]

This template has no mandatory parameters.

"section" parameter[edit]

Setting this parameter to any value (e.g. {{Spoiler|section = 1}}) will change the message from "page" to "section".

Examples[edit]

{{Spoiler}}

{{Spoiler|section = 1}}

See also[edit]

Content[edit]

Maintenance[edit]

  • 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 no longer relevant to the current game version.
    • {{Safe to delete}} for marking pages that are ready to be deleted.
    • {{SpeedyDelete}} for marking pages that should be deleted as fast as possible.