Difference between revisions of "Template:Cleanup"

625 bytes removed ,  14:55, 3 February 2009
m
1 revision
m (1 revision)
 
m (1 revision)
Line 1: Line 1:
<table class="plainlinks cmbox
<!-- Begin {{Cleanup| date={{{date|}}} }}  
{{#switch:{{{type|}}}
-->{{mbox
| speedy    = cmbox-speedy
| demospace = {{{demospace|}}}
| delete    = cmbox-delete
| type = style
| content    = cmbox-content
| text =  
| style      = cmbox-style
'''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>
| move      = cmbox-move
 
| protection = cmbox-protection
}}<includeonly>{{#switch:{{NAMESPACE}}
| notice          <!-- notice = default -->
| {{ns:0}}   <!-- Main = talk = image = template -->
| #default  = cmbox-notice
| Talk
}}" style="{{{style|}}}">
| Image
<tr>
| Template =
{{#ifeq:{{{image|}}}|none
   {{#if:{{{category|}}}||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
 
| <td class="mbox-image">
    {{#if:{{{date|}}}
  {{#if:{{{image|}}}
    | [[Category:Cleanup from {{{date|}}}]]{{
  | {{{image}}}
      #ifexist:Category:Cleanup from {{{date}}}
  | {{#switch:{{{type|}}}
      |  <!-- No problem -->
    | speedy    = [[Image:Cmbox deletion.png|40x40px]]
      | [[Category:Articles with invalid date parameter in template]]
    | delete    = [[Image:Cmbox deletion.png|40x40px]]
      }}
    | content   = [[Image:Cmbox content.png|40x40px]]
    | [[Category:Wikipedia cleanup]]
    | style      = [[Image:Cmbox style.png|40x40px]]
    }}[[Category:All pages needing cleanup]]
    | move      = [[Image:Cmbox move.png|40x40px]]
  }}
    | protection = [[Image:Cmbox protection.png|40x40px]]
| #default =    <!-- Don't categorise in other namespaces -->
    | notice          <!-- notice = default -->
}}</includeonly><!-- End {{Cleanup}} --><noinclude>
    | #default  = [[Image:Cmbox notice.png|40x40px]]
    }}
   }}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
|  <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice    =    <!-- Do nothing, valid "type" -->
| #default  = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>


{{pp-template|small=yes}}
{{pp-template|small=yes}}
Budlight
Bots, Bureaucrats, Administrators
529

edits