Difference between revisions of "Template:Move/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(complete rewrite)
Line 1: Line 1:
 +
__NOTOC__
 +
== Description ==
 
Creates a banner noting that the page should be moved and automatically categorizes the page into [[:Category:Pages to be moved]].
 
Creates a banner noting that the page should be moved and automatically categorizes the page into [[:Category:Pages to be moved]].
  
==Example Usage==
+
== Parameters ==
 +
This template has no mandatory parameters, it is however good practice to always provide the "''destination''" and "''reason''" parameter.
 +
 
 +
=== "destination" parameter ===
 +
You should always provide the name of the page where the page should be moved to (e.g. <code><nowiki>{{Move| destination = Trees}}</nowiki></code>)). It doesn't matter if the page exists already.
 +
 
 +
=== "reason" parameter ===
 +
You should always provide an explanation why you think the page should be moved and why to that particular destination - be it as obvious to you as it gets. This can be any text (e.g. <code><nowiki>{{Move| reason = I hope we can all agree that ''Treees'' is spelled ''Trees'' and should therefore be moved to that page}}</nowiki></code>).
 +
 
 +
=== "section" parameter ===
 +
Setting this parameter to any value (e.g. <code><nowiki>{{Move| section = 1}}</nowiki></code>) will change the message from "article" to "section".
 +
 
 +
=== "notoc" parameter ===
 +
Setting this parameter to any value (e.g. <code><nowiki>{{Move| nocat = 1}}</nowiki></code>) suppresses adding the page to [[:Category:Pages to be moved]].
 +
 
 +
Include this parameter when using the template for testing purposes, like on this page.
 +
 
 +
== Examples ==
 
The template can be used with no arguments:
 
The template can be used with no arguments:
<nowiki>{{Move}}</nowiki>
+
<pre>{{Move}}</pre>
 
producing:
 
producing:
{{rwbox|nocat=true|type=style|text=''This page is [[:Category:Pages to be moved|suggested to be moved]].}}
+
{{Move| nocat = 1}}
  
Alternatively, a suggested destination can be given
+
As you can see the template complains if you don't provide a ''destination'' and a ''reason''. You should therefore always provide them:
<nowiki>{{Move|destination=Other Page}}</nowiki>
+
<pre>{{Move| destination = Trees | reason = I hope we can all agree that ''Treees'' is spelled ''Trees'' and should therefore be moved to that page}}</pre>
 
producing:
 
producing:
{{rwbox|nocat=true|type=style|text=''This page is [[:Category:Pages to be moved|suggested to be moved]]. Destination: Other Page.}}
+
{{Move| destination = Trees | reason = I hope we can all agree that ''Treees'' is spelled ''Trees'' and should therefore be moved to that page | nocat = 1}}
  
A reason for the suggested move can also be given
+
A specific section can be designated for moving:
<nowiki>{{Move|reason=The Other Page makes this redundant}}</nowiki>
+
<pre>{{Move| destination = Trees | reason = This section should be its own page | section = 1 }}</pre>
 
producing:
 
producing:
{{rwbox|nocat=true|type=style|text=''This page is [[:Category:Pages to be moved|suggested to be moved]]. Reason: The Other Page makes this redundant.}}
+
{{Move| destination = Trees | reason = This section should be its own page | section = 1 | nocat = 1}}
  
A specific section can be designated for moving
+
== See also ==
<nowiki>{{Move|section=1|reason=This section should be its own page}}</nowiki>
+
=== Maintenance ===
producing:
+
* Incomplete pages/sections:
{{rwbox|nocat=true|type=style|text=''This section is [[:Category:Pages to be moved|suggested to be moved]]. Reason: This section should be its own page.}}
+
** {{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.
  
The arguments can also be combined.
+
=== Content ===
<nowiki>{{Move|destination=Other Page|reason=The Other Page makes this redundant}}</nowiki>
+
* {{T|Biotech}} for marking content from [[Biotech (DLC)]] {{BiotechIcon}}.
producing:
+
* {{T|Ideology}} for marking content from [[Ideology (DLC)]] {{IdeologyIcon}}.
{{rwbox|nocat=true|type=style|text=''This page is [[:Category:Pages to be moved|suggested to be moved]]. Destination: Other Page. Reason: The Other Page makes this redundant.}}
+
* {{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.
  
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<includeonly>[[Category:Notice templates]]</includeonly>

Revision as of 11:10, 2 November 2022

Description

Creates a banner noting that the page should be moved and automatically categorizes the page into Category:Pages to be moved.

Parameters

This template has no mandatory parameters, it is however good practice to always provide the "destination" and "reason" parameter.

"destination" parameter

You should always provide the name of the page where the page should be moved to (e.g. {{Move| destination = Trees}})). It doesn't matter if the page exists already.

"reason" parameter

You should always provide an explanation why you think the page should be moved and why to that particular destination - be it as obvious to you as it gets. This can be any text (e.g. {{Move| reason = I hope we can all agree that ''Treees'' is spelled ''Trees'' and should therefore be moved to that page}}).

"section" parameter

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

"notoc" parameter

Setting this parameter to any value (e.g. {{Move| nocat = 1}}) suppresses adding the page to Category:Pages to be moved.

Include this parameter when using the template for testing purposes, like on this page.

Examples

The template can be used with no arguments:

{{Move}}

producing:

As you can see the template complains if you don't provide a destination and a reason. You should therefore always provide them:

{{Move| destination = Trees | reason = I hope we can all agree that ''Treees'' is spelled ''Trees'' and should therefore be moved to that page}}

producing:

A specific section can be designated for moving:

{{Move| destination = Trees | reason = This section should be its own page | section = 1 }}

producing:

See also

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.

Content