Template:Cleanup: Difference between revisions

From Venipedia
Jump to navigation Jump to search
No edit summary
No edit summary
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.
<!--{{Cleanup}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates|{{PAGENAME}}]]</includeonly>|}}{{Ambox
{{clear}}
| name  = Clean up
}}{{Category handler
| class = ambox-clean_up
  |nocat    = {{{nocat|}}}
| type  = style
  |main    = {{DMC|Cleanup tagged articles without a reason field|from|{{{date|}}}}}
| image = [[File:Edit-clear.svg|48x48px|link=|alt=]]
}}
| issue = This page may require cleanup to meet Venipedia's quality standards'''.
|{{main other
| cat  = Articles needing cleanup
  |{{ambox
| all  = All articles needing cleanup
  | name  = Cleanup
| cat2  = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field
  | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
}}<!--{{Cleanup}} end--><noinclude>
  | type  = style
  | class = ambox-Cleanup
  | small = {{{small|}}}
  | sect  = {{{1|}}}
  | issue = '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]]'''. {{#if:{{{2|{{{reason|}}}}}}
    |The specific problem is: '''{{{2|{{{reason}}}}}}'''.
  }}
  | talk  = {{{talk|{{{talksection|}}}}}}
  | fix  = {{#if:{{{2|{{{reason|}}}}}}|
    |No [[Template:Cleanup/doc|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 [[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]] 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|Wikipedia categories needing cleanup|from|{{{date|}}}}}
  |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}}}}
  |other    = {{DMCA|Wikipedia pages needing cleanup|from|{{{date|}}}}}
}}
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 15:37, 12 July 2013

[create] Template documentation