Difference between revisions of "Template:Cleanup"
Jump to navigation
Jump to search
m (hackspaceify) |
|||
(287 intermediate revisions by 19 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | {{#ifexpr:{{#expr:{{#iferror:{{#time:U|{{{date}}}}}|2000000000}}>=1341100800}}*{{#if:{{{reason|<noinclude>x</noinclude>}}}|0|1}}*{{#ifeq:{{{nocat}}}|true|0|1}} |
− | < | + | |{{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. |
− | < | + | {{clear}} |
− | - | + | }}{{Category handler |
− | + | |nocat = {{{nocat|}}} | |
− | + | |main = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}} | |
− | + | }} | |
− | == | + | |{{main other |
− | + | |{{ambox | |
− | + | | name = Cleanup | |
− | + | | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | |
− | + | | type = style | |
− | + | | class = ambox-Cleanup | |
− | + | | small = {{{small|}}} | |
− | + | | sect = {{{1|}}} | |
− | + | | issue = '''may require cleanup'''. {{#if:{{{2|{{{reason|}}}}}} | |
− | + | |The specific problem is: '''{{{2|{{{reason}}}}}}'''. | |
+ | }} | ||
+ | | talk = {{{talk|{{{talksection|}}}}}} | ||
+ | | 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}} | ||
+ | |; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|#{{{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> |