Difference between revisions of "Template:Cleanup section"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(remove duplicated category)
imported>MSGJ
(convert to wrapper)
Line 1: Line 1:
{{#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}}
+
|reason={{{reason|<noinclude>x</noinclude>}}}
}}{{ambox
+
  |date={{{date|}}}
  | name      = Cleanup
+
|small={{{small|}}}
  | subst    = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
+
  |talksection={{{talksection|}}}
  | demospace = {{{demospace|}}}
+
  |nocat={{{nocat|}}}
  | type      = style
+
}}<noinclude>
  | class    = ambox-Cleanup
+
{{documentation}}
  | 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}}
 
 
 
 
</noinclude>
 
</noinclude>

Revision as of 07:12, 28 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