Difference between revisions of "Template:Move/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Did rewrite so that this page isn't added to the To Be Moved category.)
Line 5: Line 5:
 
  <nowiki>{{Move}}</nowiki>
 
  <nowiki>{{Move}}</nowiki>
 
producing:
 
producing:
{{Move}}
+
{{rwbox|nocat=true|type=style|text=''This page or image is [[:Category:Pages to be moved|suggested to be moved]].}}
 +
 
 
Alternatively, a suggested destination can be given
 
Alternatively, a suggested destination can be given
 
  <nowiki>{{Move|destination=Other Page}}</nowiki>
 
  <nowiki>{{Move|destination=Other Page}}</nowiki>
 
producing:
 
producing:
{{Move|destination=Other Page}}
+
{{rwbox|nocat=true|type=style|text=''This page or image is [[:Category:Pages to be moved|suggested to be moved]]. Destination: Other Page.}}
 +
 
 
A reason for the suggested move can also be given
 
A reason for the suggested move can also be given
 
  <nowiki>{{Move|reason=The Other Page makes this redundant}}</nowiki>
 
  <nowiki>{{Move|reason=The Other Page makes this redundant}}</nowiki>
 
producing:
 
producing:
{{Move|reason=The Other Page makes this redundant}}
+
{{rwbox|nocat=true|type=style|text=''This page or image is [[:Category:Pages to be moved|suggested to be moved]]. Reason: The Other Page makes this redundant.}}
 +
 
 
Both arguments can also be combined.
 
Both arguments can also be combined.
 +
 
Alternatively, a suggested destination can be given
 
Alternatively, a suggested destination can be given
 
  <nowiki>{{Move|destination=Other Page|reason=The Other Page makes this redundant}}</nowiki>
 
  <nowiki>{{Move|destination=Other Page|reason=The Other Page makes this redundant}}</nowiki>
 
producing:
 
producing:
{{Move|destination=Other Page|reason=The Other Page makes this redundant}}
+
{{rwbox|nocat=true|type=style|text=''This page or image is [[:Category:Pages to be moved|suggested to be moved]]. Destination: Other Page. Reason: The Other Page makes this redundant.}}
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<includeonly>[[Category:Notice templates]]</includeonly>

Revision as of 01:01, 15 December 2020

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

Example Usage

The template can be used with no arguments:

{{Move}}

producing:

Alternatively, a suggested destination can be given

{{Move|destination=Other Page}}

producing:

A reason for the suggested move can also be given

{{Move|reason=The Other Page makes this redundant}}

producing:

Both arguments can also be combined.

Alternatively, a suggested destination can be given

{{Move|destination=Other Page|reason=The Other Page makes this redundant}}

producing: