Compdude123 (talk | contribs) Copying code from {{Cleanup}} template to reflect recent changes. |
make wide the default, like other section templates (e.g. copy edit, npov) |
||
(17 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B= |
|||
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1335830400}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}} |
|||
{{cleanup |
|||
|{{error|You must add a {{para|reason}} parameter to this Cleanup template - replace it with <nowiki>{{Cleanup section|<nowiki>date=</nowiki>{{{date|}}}{{!}}}}<nowiki>reason=<Fill reason here>}}</nowiki>, or remove Cleanup template. |
|||
|1=section |
|||
{{clear}} |
|||
⚫ | |||
}}{{Category handler |
|||
|date={{{date|}}} |
|||
⚫ | |||
|main = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}} |
|||
|talksection={{{talksection|}}} |
|||
⚫ | |||
|nocat={{{nocat|}}} |
|||
{{<noinclude>a</noinclude>mbox |
|||
⚫ | |||
| name = Cleanup |
|||
⚫ | |||
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> |
|||
⚫ | |||
| demospace = {{{demospace|}}} |
|||
{{documentation}} |
|||
| type = style |
|||
| class = ambox-Cleanup |
|||
⚫ | |||
| text = This section '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]'''. {{#if:{{{2|{{{reason|}}}}}} |
|||
|The specific problem is: '''{{{2|{{{reason}}}}}}'''. |
|||
|'''No [[Template:Cleanup/doc|cleanup reason]] specified. Please add a {{para|reason}} parameter to this template.''' |
|||
}} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this section] if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|#{{{talksection}}}}}|talk page]] may contain suggestions.}} |
|||
|date = {{{date|}}} |
|||
| doc = no |
|||
}}{{Category handler |
|||
|page = {{SUBJECTPAGENAME}} |
|||
⚫ | |||
|main = {{DMC|Articles needing cleanup|from|{{{date|}}}|All articles needing cleanup}}{{DMC|Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field|from|{{{date|}}}}} |
|||
|category = {{DMC|Wikipedia categories needing cleanup|from|{{{date|}}}}} |
|||
|template = {{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}} |
|||
|other = {{DMC|Wikipedia pages needing cleanup|from|{{{date|}}}}} |
|||
}} |
|||
⚫ | |||
{{Documentation}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 05:30, 1 January 2018
This template is a wrapper for {{Cleanup}}
Usage
{{Cleanup section|date=May 2024|reason=}}
To be placed in sections that need attention. Full instructions are given at {{Cleanup}}
.
To show it compressed at the left side of the section, add the parameter small=left
.
TemplateData
TemplateData for Cleanup section
This tag is intended to identify pages that need wikification or the correction of spelling, grammar, typographical errors, tone, and other similar, non-content-focused changes. Use this tag when the article needs improvement per WP:BETTER.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reason | reason | Reason for requesting cleanup
| String | required |
Month and year | date | The month and year that the template was placed (in full).
| Line | suggested |
Make template small | small | Enter "left" here to make the template box small and aligned to the left.
| String | optional |
Talk page section | talksection | The section of the talk page explaining what needs to be done | String | optional |
No category | nocat | Suppress categorization | String | optional |
demospace | demospace | no description | Unknown | optional |