Difference between revisions of "Template:Cleanup"

From London Hackspace Wiki
Jump to navigation Jump to search
 
m (hackspaceify)
 
(270 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<table class="messagebox cleanup metadata" style="padding: 0 0 0 0;"><tr>
+
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}*{{#ifeq:{{{nocat}}}|true|0|1}}
<!--{{qif|
+
|{{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.
test={{{1| }}}|
+
{{clear}}
then=<td width="50">[[Image:Square-broom.png|50px]]</td>|
+
}}{{Category handler
else=<td width="40">[[Image:Square-broom.png|40px]]</td>}}-->
+
  |nocat    = {{{nocat|}}}
<td>You need to '''STICK A FINGER UP YOUR ASS''' to conform to a [[:Category:Wikipedia style guidelines|higher standard]] of quality. <br /> {{qif|test={{{1| }}}|then=This article has been tagged since {{{1}}}.<br /> <includeonly>[[Category:Cleanup from {{{1}}}]]</includeonly>|else=<includeonly>[[Category:Wikipedia cleanup]]</includeonly>}}<small>See [[Help:Editing]] and [[:Category:Wikipedia help]] for help, or this article's [[Talk:{{PAGENAME}}|talk page]].</small></td>
+
  |main    = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}}
<!-- <td width="{{qif|test={{{1| }}}|then=50|else=40}}">&nbsp;</td> -->
+
}}
</tr></table><noinclude>
+
|{{main other
<div style="clear: both"></div>
+
  |{{ambox
<noinclude>
+
  | name  = Cleanup
----
+
  | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
This template will categorize tagged articles into a cleanup category according to the month and year given.
+
  | type  = style
:Example: <nowiki>{{</nowiki>cleanup|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} &rarr; [[:Category:Cleanup from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]].
+
  | class = ambox-Cleanup
If no date is given, articles will be categorized into the more general [[:Category:Wikipedia cleanup]]
+
  | small = {{{small|}}}
 
+
  | sect  = {{{1|}}}
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]].
+
  | issue = '''may require cleanup'''. {{#if:{{{2|{{{reason|}}}}}}
This template is not useful for [[Wikipedia:Subst]].
+
    |The specific problem is: '''{{{2|{{{reason}}}}}}'''.
==See also==
+
  }}
* [[Template:Cleanup]]
+
  | talk  = {{{talk|{{{talksection|}}}}}}
* [[Template:Cleanup-remainder]]
+
  | fix  = {{#if:{{{2|{{{reason|}}}}}}|
* [[Template:Cleanup-resemble]]
+
    |No cleanup reason has been specified.
* [[Template:Cleanup-section]]
+
  }} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can.
* [[Template:Cleanup-image]]
+
  | date  = {{{date|}}}
* [[Template:Cleanup-tone]]
+
  | cat  = Articles needing cleanup
* [[Wikipedia:Template messages/Cleanup]]
+
  | all  = All articles needing cleanup
[[Category:Wikipedia maintenance]]
+
  | cat2  = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field
[[eo:Ŝablono:Polurinda]]
+
  }}
[[nl:Sjabloon:Schoonmaak]]
+
  |{{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