Difference between revisions of "Template:Cleanup"
m (Allow the template to be used on all namespaces except for User | User talk | Template | Template talk | PCGamingWiki | PCGamingWiki talk | Project | Project talk | MediaWiki | MediaWiki talk) |
|||
(20 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="notice notice-cleanup"> | + | <div class="notice notice-cleanup {{#ifeq: {{lc:{{{1|}}}}} | section | notice-section }}" id="notice-cleanup"> |
− | <div class="notice-icon"> | + | <div class="notice-icon svg-icon svg-35 notice-icon-cleanup"></div> |
− | <div class="notice-text">This page | + | <div class="notice-text">{{#ifeq: {{lc:{{{1|}}}}} | section | This section may require [[:Category:Pages needing cleanup|cleanup]] to meet basic [[PCGamingWiki:Sample article|quality standards]]. {{#if: {{{reason|}}}{{{2|}}} | The specific problem is: '''{{{reason|{{{2}}}}}}'''.}} You can help by {{edit|modifying}} the article. The [[{{TALKPAGENAME}}|discussion page]] may contain useful suggestions. | This page may require [[:Category:Pages needing cleanup|cleanup]] to meet basic [[PCGamingWiki:Sample article|quality standards]]. {{#if: {{{reason|}}}{{{1|}}} | The specific problem is: '''{{{reason|{{{1}}}}}}'''.}} You can help by {{edit|modifying}} the article. The [[{{TALKPAGENAME}}|discussion page]] may contain useful suggestions.}}</div> |
− | + | </div><includeonly>{{#switch: {{NAMESPACE}} | User | User talk | Template | Template talk | PCGamingWiki | PCGamingWiki talk | Project | Project talk | MediaWiki | MediaWiki talk= <!-- Do not add to category for these namespaces --> |#default= [[Category:Pages needing cleanup]]{{#vardefine:Cleanup|true}} }}</includeonly><noinclude>{{Documentation}}</noinclude> | |
− | < | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 20:25, 22 June 2023
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 standards of the wiki.
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}}