Difference between revisions of "Template:Move/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (category)
Line 5: Line 5:
 
  <nowiki>{{Move}}</nowiki>
 
  <nowiki>{{Move}}</nowiki>
 
producing:
 
producing:
{{rwbox|nocat=true|type=style|text=''This page or image is [[:Category:Pages to be moved|suggested to be moved]].}}
+
{{rwbox|nocat=true|type=style|text=''This page 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:
{{rwbox|nocat=true|type=style|text=''This page or image is [[:Category:Pages to be moved|suggested to be moved]]. Destination: Other Page.}}
+
{{rwbox|nocat=true|type=style|text=''This page 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:
{{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.}}
+
{{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.}}
  
Both arguments can also be combined.
+
A specific section can be designated for moving
 +
<nowiki>{{Move|section=1|reason=This section should be its own page}}</nowiki>
 +
producing:
 +
{{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.}}
 +
 
 +
The arguments can also be combined.
 
  <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:
{{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.}}
+
{{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.}}
  
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<includeonly>[[Category:Notice templates]]</includeonly>

Revision as of 02:13, 25 June 2022

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:

A specific section can be designated for moving

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

producing:

The arguments can also be combined.

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

producing: