Jump to content

Template:Cleanup: Difference between revisions

From Worm Wiki
MugaSofer (talk | contribs)
No edit summary
Tag: sourceedit
MugaSofer (talk | contribs)
m Undo revision 11563 by MugaSofer (talk)
Tag: sourceedit
Line 3: Line 3:
{{#if:{{{reason|{{{1|}}}}}}|
{{#if:{{{reason|{{{1|}}}}}}|
* Reason: {{{reason|{{{1|}}}}}}}}
* Reason: {{{reason|{{{1|}}}}}}}}
</div><includeonly>[[Category:Pages 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 21:33, June 2, 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?)