Difference between revisions of "Template:Cleanup/Documentation"
m (removed the use of reason= in the examples of the section call) |
m (updated docs) |
||
Line 9: | Line 9: | ||
* {{Code|section}} - Used as the first parameter to indicate that the cleanup only concerns the current section, e.g. <code><nowiki>{{Cleanup|section|Spelling, grammar, and needs updating}}</nowiki></code> | * {{Code|section}} - Used as the first parameter to indicate that the cleanup only concerns the current section, e.g. <code><nowiki>{{Cleanup|section|Spelling, grammar, and needs updating}}</nowiki></code> | ||
* {{Code|reason}} - Adds a reason/explanation for what needs cleaning up. Note that the parameter '''reason''' must be in lowercase if used. | * {{Code|reason}} - Adds a reason/explanation for what needs cleaning up. Note that the parameter '''reason''' must be in lowercase if used. | ||
− | * | + | * <code>reason=</code> can usually be left out as long as the reason parameter is placed last. For example, these have the same end-result: |
− | *** <code><nowiki>{{Cleanup|Spelling, grammar, and needs updating}}</nowiki></code> | + | *: '''Full page cleanup:''' |
− | *** <code><nowiki>{{Cleanup|reason=Spelling, grammar, and needs updating}}</nowiki></code> | + | ** <code><nowiki>{{Cleanup|Spelling, grammar, and needs updating}}</nowiki></code> |
− | + | ** <code><nowiki>{{Cleanup|reason=Spelling, grammar, and needs updating}}</nowiki></code> | |
+ | *: '''Section cleanup:''' | ||
+ | ** <code><nowiki>{{Cleanup|section|Spelling, grammar, and needs updating}}</nowiki></code> | ||
+ | ** <code><nowiki>{{Cleanup|section|reason=Spelling, grammar, and needs updating}}</nowiki></code> | ||
'''Syntax''' | '''Syntax''' |
Revision as of 18:52, 16 June 2019
Description
The cleanup tag is placed at the top of articles or sections that have issues with content formatting or outdated content. Any articles that do not match the standards in the editing guide fall under this label.
The tag should only be removed once the offending article element(s) are made to match the wiki's standards.
Arguments
section
- Used as the first parameter to indicate that the cleanup only concerns the current section, e.g.{{Cleanup|section|Spelling, grammar, and needs updating}}
reason
- Adds a reason/explanation for what needs cleaning up. Note that the parameter reason must be in lowercase if used.reason=
can usually be left out as long as the reason parameter is placed last. For example, these have the same end-result:- Full page cleanup:
{{Cleanup|Spelling, grammar, and needs updating}}
{{Cleanup|reason=Spelling, grammar, and needs updating}}
- Section cleanup:
{{Cleanup|section|Spelling, grammar, and needs updating}}
{{Cleanup|section|reason=Spelling, grammar, and needs updating}}
Syntax
{{Cleanup| section (optional) | reason= (optional) }}
Example #1 - Full page cleanup needed, no reason specified
{{Cleanup}}
Example #2 - Full page cleanup needed, reason specified
{{Cleanup|spelling, grammar, and similar issues}}
Example #3 - Section cleanup needed, no reason specifed
{{Cleanup|section}}
Example #3 - Section cleanup needed, reason specifed
{{Cleanup|section|The section needs to be updated to account for the new additions in Update 2.0 as well}}