Difference between revisions of "Template:Cleanup"

From Self-sufficiency
Jump to: navigation, search
("ambox" -> "mbox", so it can adapt its style since used in several namespaces. Indented the code for readability. Made the second "article" word use the parameter too. And some other minor fixes.)
Line 1: Line 1:
<!-- {{Cleanup|date={{{date|}}}}} begin -->{{ambox
+
<!-- Begin {{Cleanup| date={{{date|}}} }}  
 +
-->{{mbox
 
| type = style
 
| type = style
| text = '''This {{{1|article}}} may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]].'''<br /><small>Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this article] if you can.{{#if:{{{date|}}}|&#32;''({{{date}}})''|}}</small>
+
| text = '''This {{{1|article}}} may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]].''' <br> <small>Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|article}}}] if you can. {{#if:{{{date|}}}|''({{{date}}})''}}</small>
}}<includeonly>{{#switch:{{NAMESPACE}}|{{ns:-0}}|Talk|Image|Template={{#if:{{{date|}}}|[[Category:Cleanup from {{{date|}}}]]{{#ifexist:Category:Cleanup from {{{date}}}||[[Category:Articles with invalid date parameter in template]]}}|[[Category:Wikipedia cleanup]]}}[[Category:All pages needing cleanup]]|}}</includeonly><!--{{Cleanup}} end--><noinclude>
+
}}<includeonly>{{#switch:{{NAMESPACE}}
 +
| {{ns:0}}   <!-- Main = talk = image = template -->
 +
| Talk
 +
| Image
 +
| Template =  
 +
  {{#if:{{{date|}}}
 +
  | [[Category:Cleanup from {{{date|}}}]]{{#ifexist:Category:Cleanup from {{{date}}}
 +
    |   <!-- No problem -->
 +
    | [[Category:Articles with invalid date parameter in template]]
 +
    }}
 +
  | [[Category:Wikipedia cleanup]]
 +
  }}[[Category:All pages needing cleanup]]
 +
| #default =    <!-- Don't categorise in other namespaces -->
 +
}}</includeonly><!-- End {{Cleanup}} --><noinclude>
 +
 
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
{{template doc}}
+
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 10:30, 17 August 2008