Difference between revisions of "Template:Cleanup"

From Self-sufficiency
Jump to: navigation, search
(Adding the demospace parameter so we can demonstrate its different styles in its documentation.)
Line 11: Line 11:
 
| Image
 
| Image
 
| Template =  
 
| Template =  
   {{#if:{{{date|}}}
+
   {{#if:{{{category|}}}||
   | [[Category:Cleanup from {{{date|}}}]]{{
+
    
    #ifexist:Category:Cleanup from {{{date}}}
+
    {{#if:{{{date|}}}
    |  <!-- No problem -->
+
    | [[Category:Cleanup from {{{date|}}}]]{{
    | [[Category:Articles with invalid date parameter in template]]
+
      #ifexist:Category:Cleanup from {{{date}}}
    }}
+
      |  <!-- No problem -->
  | [[Category:Wikipedia cleanup]]
+
      | [[Category:Articles with invalid date parameter in template]]
  }}[[Category:All pages needing cleanup]]
+
      }}
 +
    | [[Category:Wikipedia 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 15:23, 29 January 2009