Difference between revisions of "Template:Cleanup"

From Self-sufficiency
Jump to: navigation, search
(Making template more generic, by allopwing the word "article" to be replaced y an other word, per talk page request)
(Namspace and simplify.)
Line 2: Line 2:
 
| 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 article] if you can.{{#if:{{{date|}}}|&#32;''({{{date}}})''|}}</small>
}}<includeonly>{{#if:{{{date|}}}|{{{category|[[Category:Cleanup from {{{date|}}}]]}}}|{{{category|[[Category:Wikipedia cleanup]]}}}}}{{{category|[[Category:All pages needing cleanup]]}}}{{#if:{{NAMESPACE}}||{{#if:{{{date|}}}|{{#ifexist:Category:Cleanup from {{{date}}}||[[Category:Articles with invalid date parameter in template]]}}|}}}}</includeonly><!--{{Cleanup}} end--><noinclude>
+
}}<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>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{template doc}}
 
{{template doc}}
 
<!-- 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 22:56, 11 March 2008