Difference between revisions of "Template:Move/doc"
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 15: | Line 15: | ||
Setting this parameter to any value (e.g. <code><nowiki>{{Move| section = 1}}</nowiki></code>) will change the message from "article" to "section". | Setting this parameter to any value (e.g. <code><nowiki>{{Move| section = 1}}</nowiki></code>) will change the message from "article" to "section". | ||
− | === " | + | === "nocat" parameter === |
− | Setting this parameter to | + | Setting this parameter to ''true'' (e.g. <code><nowiki>{{Move| nocat = true}}</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. | Include this parameter when using the template for testing purposes, like on this page. | ||
Line 24: | Line 24: | ||
<pre>{{Move}}</pre> | <pre>{{Move}}</pre> | ||
producing: | producing: | ||
− | {{Move| nocat = | + | {{Move| nocat = true}} |
As you can see the template complains if you don't provide a ''destination'' and a ''reason''. You should therefore always provide them: | As you can see the template complains if you don't provide a ''destination'' and a ''reason''. You should therefore always provide them: | ||
<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> | <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: | ||
− | {{Move| destination = Trees | reason = I hope we can all agree that ''Treees'' is spelled ''Trees'' and should therefore be moved to that page | nocat = | + | {{Move| destination = Trees | reason = I hope we can all agree that ''Treees'' is spelled ''Trees'' and should therefore be moved to that page | nocat = true}} |
A specific section can be designated for moving: | A specific section can be designated for moving: | ||
<pre>{{Move| destination = Trees | reason = This section should be its own page | section = 1 }}</pre> | <pre>{{Move| destination = Trees | reason = This section should be its own page | section = 1 }}</pre> | ||
producing: | producing: | ||
− | {{Move| destination = Trees | reason = This section should be its own page | section = 1 | nocat = | + | {{Move| destination = Trees | reason = This section should be its own page | section = 1 | nocat = true}} |
== See also == | == See also == |
Latest revision as of 02:27, 14 February 2023
Description[edit]
Creates a banner noting that the page should be moved and automatically categorizes the page into Category:Pages to be moved.
Parameters[edit]
This template has no mandatory parameters, it is however good practice to always provide the "destination" and "reason" parameter.
"destination" parameter[edit]
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[edit]
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[edit]
Setting this parameter to any value (e.g. {{Move| section = 1}}
) will change the message from "article" to "section".
"nocat" parameter[edit]
Setting this parameter to true (e.g. {{Move| nocat = true}}
) 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[edit]
The template can be used with no arguments:
{{Move}}
producing:
This page is suggested to be moved. Destination: Please suggest a target page. Reason: Please provide a reason . |
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:
This page is suggested to be moved. Destination: Trees. Reason: I hope we can all agree that Treees is spelled Trees and should therefore be moved to that page. |
A specific section can be designated for moving:
{{Move| destination = Trees | reason = This section should be its own page | section = 1 }}
producing:
This section is suggested to be moved. Destination: Trees. Reason: This section should be its own page. |
See also[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:
- 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.
Content[edit]
- {{Biotech}} for marking content from Biotech (DLC) .
- {{Ideology}} for marking content from Ideology (DLC) .
- {{Royalty}} for marking content from Royalty (DLC) .
- {{Console}} for marking content from the console edition .
- {{Spoiler}} for marking potential spoilers.