Difference between revisions of "Template:Cleanup section"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(remove stray code)
imported>Compdude123
(Copying code from {{Cleanup}} template to reflect recent changes.)
Line 1: Line 1:
{{ <noinclude>A</noinclude>mbox
+
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1335830400}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}
| name      = 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.
| subst    = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
+
{{clear}}
| demospace = {{{demospace|}}}
 
| type      = style
 
| class    = ambox-Cleanup
 
| small    = {{{small|}}}
 
| reason    = {{{reason|}}}
 
| 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|}}}|Please add a "reason" parameter to this template}}}'''.|(Consider using [[Wikipedia:Template messages/Cleanup|more specific cleanup instructions]].)}} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this section] if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
 
| doc      = no
 
 
}}{{Category handler
 
}}{{Category handler
|page    = {{SUBJECTPAGENAME}}
+
  |nocat    = {{{nocat|}}}
|nocat    = {{{nocat|<noinclude>true</noinclude>}}}
+
  |main    = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}}
|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|}}}}}
+
{{<noinclude>a</noinclude>mbox
|template = {{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}}
+
  | name      = Cleanup
|other    = {{DMC|Wikipedia pages needing cleanup|from|{{{date|}}}}}
+
  | subst    = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
}}<noinclude>
+
  | demospace = {{{demospace|}}}
 +
  | type      = style
 +
  | class    = ambox-Cleanup
 +
  | small    = {{{small|}}}
 +
  | 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|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.}}
 +
  |date      = {{{date|}}}
 +
  | doc      = no
 +
}}{{Category handler
 +
  |page    = {{SUBJECTPAGENAME}}
 +
  |nocat    = {{{nocat|<noinclude>true</noinclude>}}}
 +
  |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|}}}}}
 +
}}
 +
<noinclude>
 +
 
 
{{Documentation}}
 
{{Documentation}}
 +
 
</noinclude>
 
</noinclude>

Revision as of 16:13, 24 May 2012


Template documentation[view] [edit] [history] [purge]

This template is a wrapper for {{Cleanup}}

Usage

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.

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.

Template parameters

ParameterDescriptionTypeStatus

no description

Unknownoptional
Reasonreason

no description

Unknownoptional
Datedate

no description

Unknownoptional
Smallsmall

no description

Unknownoptional
Talksectiontalksection

no description

Unknownoptional
Nocatnocat

no description

Unknownoptional
Demospacedemospace

no description

Unknownoptional