Difference between revisions of "Template:Cleanup"

From London Hackspace Wiki
Jump to navigation Jump to search
 
m (hackspaceify)
 
(198 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- start cleanup --><div class="messagebox cleanup metadata">[[Image:Re-exposure of elephant - lahugala park1.jpg|left|thumb|250px|Right|Feed me!]]
+
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}*{{#ifeq:{{{nocat}}}|true|0|1}}
'''To meet Wikipedia's [[nutrition]] standards, this [[elephant]] may require [[peanuts]].''' <br /><span style="font-size: 90%">
+
|{{error|You must add a {{para|reason}} parameter to this Cleanup template - replace it with <code><nowiki>{{Cleanup|</nowiki>{{#if:{{{1|}}}|{{{1|}}}{{!}}|}}{{#if:{{{date|}}}|<nowiki>date=</nowiki>{{{date|}}}{{!}}}}<nowiki>reason=<Fill reason here>}}</nowiki></code>, or remove Cleanup template.
Please discuss this issue on the [[Talk:{{PAGENAME}}|talk page]], and/or replace this tag with a [[Wikipedia:Template_messages/Cleanup#Specific_issues|more specific message]]. [[Help:Editing|Editing help]] is available.</span></div><includeonly>[[Category:Wikipedia cleanup|{{PAGENAME}}]]</includeonly><!-- end cleanup -->
+
{{clear}}
<noinclude>
+
}}{{Category handler
----
+
  |nocat    = {{{nocat|}}}
In the future, please use [[Template:Cleanup-date]] instead of this template. This helps with the categorisation of articles requiring cleanup.
+
  |main    = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}}
This template will add tagged articles to [[:Category:Wikipedia cleanup]].
+
}}
==See also==
+
|{{main other
* [[Wikipedia:Cleanup process]]
+
  |{{ambox
* [[Wikipedia:Template messages/Cleanup]]
+
  | name  = Cleanup
[[Category:Wikipedia maintenance templates|{{PAGENAME}}]]
+
  | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
[[cs:Šablona:Upravit]]
+
  | type  = style
[[eo:Ŝablono:Polurinda]]
+
  | class = ambox-Cleanup
[[ia:Template:Revision]]
+
  | small = {{{small|}}}
[[ko:Template:정리 필요]]
+
  | sect  = {{{1|}}}
[[ro:Format:Curăţenie]]
+
  | issue = '''may require cleanup'''. {{#if:{{{2|{{{reason|}}}}}}
[[sl:Predloga:Popravi]]
+
    |The specific problem is: '''{{{2|{{{reason}}}}}}'''.
[[nl:Sjabloon:Schoonmaak]]
+
  }}
[[vi:Tiêu bản:Cần sửa lại]]
+
  | talk  = {{{talk|{{{talksection|}}}}}}
[[zh:Template:Cleanup]]
+
  | fix  = {{#if:{{{2|{{{reason|}}}}}}|
 +
    |No cleanup reason has been specified.
 +
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can.
 +
  | date  = {{{date|}}}
 +
  | cat  = Articles needing cleanup
 +
  | all  = All articles needing cleanup
 +
  | cat2  = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field
 +
  }}
 +
  |{{mbox
 +
  | demospace = {{{demospace|}}}
 +
  | type      = style
 +
  | text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require cleanup'''. {{#if:{{{2|{{{reason|}}}}}}
 +
    |The specific problem is: '''{{{2|{{{reason}}}}}}'''.
 +
    |No cleanup reason has been specified.
 +
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}
 +
    |&#59; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.
 +
    |.
 +
  }}
 +
  }}
 +
| demospace = {{{demospace|<noinclude>main</noinclude>}}}
 +
}}{{Category handler
 +
  |page    = {{SUBJECTPAGENAME}}
 +
  |nocat    = {{{nocat|}}}
 +
  |category = {{DMC|Categories needing cleanup|from|{{{date|}}}}}
 +
  |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Templates needing cleanup|from|{{{date|}}}}}}}
 +
  |other    = {{DMCA|Pages needing cleanup|from|{{{date|}}}}}
 +
}}
 +
}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:54, 29 April 2013

[create] Documentation icon Template documentation