टेम्पलेट:Cleanup: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>TParis
Fix update
imported>MSGJ
supress output if no reason given after April 2012, per discussion
लाइन 1:
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>1333238400}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}
{{ <noinclude>A</noinclude>mbox
|{{error|You must add a {{para|reason}} parameter to this Cleanup template - replace it with <nowiki>{{Cleanup|</nowiki>{{#if:{{{1|}}}|{{{1|}}}{{!}}|}}date<nowiki>=</nowiki>{{date}}<nowiki>|reason=<Fill reason here>}}</nowiki>, or remove Cleanup template.
| name = Cleanup
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| demospace = {{{demospace|}}}
| type = style
| class = ambox-Cleanup
| small = {{{small|}}}
| text = This {{{1|{{SUBJECTSPACE formatted}}}}} '''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}}}'''.|'''No [[Template:Cleanup/doc|cleanup reason]] specified. Please add a {{para|reason}} parameter to this template.'''}} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] 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
|page |nocat = {{SUBJECTPAGENAME{nocat|}}}
|main = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}}
|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|}}}}}
|{{ <noinclude>Aa</noinclude>mbox
|category = {{DMC|Wikipedia categories needing cleanup|from|{{{date|}}}}}
| name = Cleanup
|template = {{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}}
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
|other = {{DMC|Wikipedia pages needing cleanup|from|{{{date|}}}}}
| demospace = {{{demospace|}}}
| type = style
| class = ambox-Cleanup
| small = {{{small|}}}
| text = This {{{1|{{SUBJECTSPACE formatted}}}}} '''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 {{{1|{{SUBJECTSPACE formatted}}}}}] 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>