Difference between revisions of "Template:Cleanup"

From Self-sufficiency
Jump to: navigation, search
(Indenting and commenting the "category suppression" if-case. No change in function or appearance.)
(Adding category suppression. "category=" and "category=no" and so on will stop categorisation.)
Line 11: Line 11:
 
| Image
 
| Image
 
| Template =  
 
| Template =  
   {{#if:{{{category|}}}
+
   {{{category| {{
  |  <!-- Don't categorise if "category=" was fed. -->
+
    #if:{{{date|}}}
  | {{#if:{{{date|}}}
+
 
     | [[Category:Cleanup from {{{date|}}}]]{{
 
     | [[Category:Cleanup from {{{date|}}}]]{{
 
       #ifexist:Category:Cleanup from {{{date}}}
 
       #ifexist:Category:Cleanup from {{{date}}}
Line 21: Line 20:
 
     | [[Category:Wikipedia cleanup]]
 
     | [[Category:Wikipedia cleanup]]
 
     }}[[Category:All pages needing cleanup]]
 
     }}[[Category:All pages needing cleanup]]
   }}
+
   }}}
 
| #default =    <!-- Don't categorise in other namespaces -->
 
| #default =    <!-- Don't categorise in other namespaces -->
 
}}</includeonly><!-- End {{Cleanup}} --><noinclude>
 
}}</includeonly><!-- End {{Cleanup}} --><noinclude>

Revision as of 10:04, 6 February 2009