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.)
(Adding the demospace parameter so we can demonstrate its different styles in its documentation.)
Line 1: Line 1:
 
<!-- Begin {{Cleanup| date={{{date|}}} }}  
 
<!-- Begin {{Cleanup| date={{{date|}}} }}  
 
-->{{mbox
 
-->{{mbox
 +
| demospace = {{{demospace|}}}
 
| 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 {{{1|article}}}] if you can. {{#if:{{{date|}}}|''({{{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}}
 
}}<includeonly>{{#switch:{{NAMESPACE}}
 
| {{ns:0}}    <!-- Main = talk = image = template -->
 
| {{ns:0}}    <!-- Main = talk = image = template -->
Line 9: Line 12:
 
| Template =  
 
| Template =  
 
   {{#if:{{{date|}}}
 
   {{#if:{{{date|}}}
   | [[Category:Cleanup from {{{date|}}}]]{{#ifexist:Category:Cleanup from {{{date}}}
+
   | [[Category:Cleanup from {{{date|}}}]]{{
 +
    #ifexist:Category:Cleanup from {{{date}}}
 
     |  <!-- No problem -->
 
     |  <!-- No problem -->
 
     | [[Category:Articles with invalid date parameter in template]]
 
     | [[Category:Articles with invalid date parameter in template]]

Revision as of 04:07, 14 November 2008