Jump to content

Template:Cleanup: Difference between revisions

From Worm Wiki
MugaSofer (talk | contribs)
No edit summary
Tag: sourceedit
MugaSofer (talk | contribs)
No edit summary
Tag: sourceedit
Line 1: Line 1:
<div name="Cleanup notice" class="boilerplate metadata" id="delete" style="background-color:#222; margin:1em; padding:0 10px; border:1px solid #aaa;">
<div name="Cleanup notice" class="boilerplate metadata" id="delete" style="background-color:#222; margin:1em; padding:0 10px; border:1px solid #aaa;">
[[Accord.jpeg|thumbnail]] This {{#switch:{{NAMESPACE}}|File=file or image|Template=template|article}} is need of a '''clean-up.'''  You can help out {{SITENAME}} by re-organizing parts of the article, checking grammar and spelling, and doing other helpful things to correct the article.
[[Accord.jpeg|50px]] This {{#switch:{{NAMESPACE}}|File=file or image|Template=template|article}} is need of a '''clean-up.'''  You can help out {{SITENAME}} by re-organizing parts of the article, checking grammar and spelling, and doing other helpful things to correct the article.
{{#if:{{{reason|{{{1|}}}}}}|
{{#if:{{{reason|{{{1|}}}}}}|
* Reason: {{{reason|{{{1|}}}}}}}}
* Reason: {{{reason|{{{1|}}}}}}}}
</div><includeonly>[[Category:{{#switch:{{NAMESPACE}}|File=Files|Template=Templates|articles}} in need of cleanup]]</includeonly><noinclude>
</div><includeonly>[[Category:{{#switch:{{NAMESPACE}}|File=Files|Template=Templates|articles}} in need of cleanup]]</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 12:04, March 8, 2016

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to mark pages that need to be cleaned up and puts them in Category:Articles in need of cleanup (Category:Files in need of cleanup or Category:Templates in need of cleanup).
Syntax
Type {{cleanup{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} on a page that needs clean-up.
...or...
Type {{cleanup{{#ifeq: reason|---|||<reason>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}, if you want to include a reason for needing cleanup.
Sample output
{{cleanup{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} gives...
[[Category:{{#switch:Template|File=Files|Template=Templates|articles}} in need of cleanup]]
{{cleanup|Needs better formatting.}} gives...
[[Category:{{#switch:Template|File=Files|Template=Templates|articles}} in need of cleanup]]

Visit Template:Cleanup/doc to edit this text! (How does this work?)