Difference between revisions of "Template:Cleanup-layout"

From blackwiki
Jump to navigation Jump to search
imported>AnnaHendren
(creating)
 
imported>AnnaHendren
(restart)
Line 1: Line 1:
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:|0|1}}*{{#ifeq:{{{nocat}}}|true|0|1}}
+
{{ambox
|{{error|You must add a {{para|reason}} parameter to this Cleanup template - replace it with <code><nowiki>{{Cleanup|</nowiki>{{#if:|{{!}}|}}{{#if:|<nowiki>date=</nowiki>{{!}}}}<nowiki>reason=<Fill reason here>}}</nowiki></code>, or remove Cleanup template.
+
| subst = SUBST
{{clear}}
+
| name  = copy edit
}}{{Category handler
+
| type  = style
  |nocat    =
+
| class = ambox-Copy_edit
  |main    = {{DMC|Cleanup tagged articles without a reason field|from|}}
+
| image = [[Image:Acap.svg|40x40px|alt=|link=]]
}}
+
| issue = This article '''may require [[Wikipedia:Basic copyediting|copy editing]] for grammar, style, cohesion, tone, or spelling'''.
|{{main other
+
| fix  = You can assist by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} editing it].
  |{{ambox
+
| cat   = Wikipedia articles needing copy edit
  | name  = Cleanup
+
| date  =  
  | subst = SUBST
+
| all   = All articles needing copy edit
  | type  = style
 
  | class = ambox-Cleanup
 
  | small =
 
  | sect  =
 
  | issue = '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]'''. {{#if:
 
    |The specific problem is: '''{{{reason}}}'''.
 
  }}
 
  | talk  =  
 
  | fix  = {{#if:|
 
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
 
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{SUBJECTSPACE formatted}}] if you can.
 
  | date  =
 
  | cat  = Articles needing cleanup
 
  | all  = All articles needing cleanup
 
  | cat2  = Cleanup tagged articles with{{#if:||out}} a reason field
 
  }}
 
  |{{mbox
 
  | demospace =
 
  | type      = style
 
  | text      = This {{SUBJECTSPACE formatted}} '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]'''. {{#if:
 
    |The specific problem is: '''{{{reason}}}'''.
 
    |No [[Template:Cleanup/doc|cleanup reason]] has been specified.
 
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{SUBJECTSPACE formatted}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}
 
    |&#59; the [[{{TALKPAGENAME}}{{#if:|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.
 
    |.
 
  }}
 
   }}
 
| demospace =
 
}}{{Category handler
 
  |page    = {{SUBJECTPAGENAME}}
 
  |nocat    =
 
  |category = {{DMC|Wikipedia categories needing cleanup|from|}}
 
  |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Wikipedia templates needing cleanup|from|}}}}
 
   |other    = {{DMC|Wikipedia pages needing cleanup|from|}}
 
}}
 
 
}}
 
}}

Revision as of 18:36, 14 October 2012

Template {{copy edit}} has been incorrectly substituted.