Template:Cleanup/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Language subpage}}
{{Doc/subpage}}
<onlyinclude>{{Metanotice
| rgb    = 244, 196, 48
| opacity = .07
| id      = [[File:broom_icon.png|32px|link=]]
| text    = '''This article or section needs to be cleaned up to conform to a higher standard of quality{{#if:{{{1|}}}|&nbsp;because:<div style="font-weight:initial; font-style:italic; padding:.6em">{{{1|}}}</div>|}}{{#if:{{{1|}}}||.<br>|}}'''<small>''For help, see the [[Help:Contents|VDC Editing Help]] and [[Wikipedia:Wikipedia:Cleanup_process#Advice_on_fixing_articles|Wikipedia cleanup process]]. Also, remember to check for any notes left by the tagger at this article's [[{{TALKPAGENAME}}|talk page]]''</small>
|}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Cleanup]]}}</includeonly></onlyinclude>


== Syntax ==
== Usage ==
<code><nowiki>{{cleanup|reason (optional)}}</nowiki></code>
Tags a page for cleanup. You can choose to include a reasoning for tagging the page for cleanup, or simply place <code><nowiki>{{cleanup}}</nowiki></code> on the page.
 
==Parameters==
 
{| class="standard-table plainlinks" style="width:100%"
! Parameters
! Description
! Example
! Result
|-
| No Parameters
| For use when entire pages need to be clean upped
| {{Code|<nowiki>{{Cleanup}}</nowiki>}}
| {{Cleanup|nocat=1}}
|-
| {{param|1}}
| Optionally you can add additional info.
| {{Code|<nowiki>{{Cleanup|Example text}}</nowiki>}}
| {{Cleanup|Example text|nocat=1}}
|-
|height="50px" | {{param|nocat}}
| Prevents page from being added to the [[:Category:Cleanup|Category:Cleanup]] category and/or [[:Category:Tutorial cleanup|Category:Tutorial cleanup]].
|colspan="2" style=text-align:center;|{{code|<nowiki>{{Cleanup|nocat=1}}</nowiki>}}
|-
| {{param|type|tutorial}}
| For use on tutorial pages.
| {{Code|<nowiki>{{Cleanup|type=tutorial}}</nowiki>}}
| {{Cleanup|type=tutorial|nocat=1}}
|-
| {{param|type|rubbish}}
| Tags a page for immediate cleanup because it may be a complete mess.
| {{Code|<nowiki>{{Cleanup|type=rubbish}}</nowiki>}}
| {{Cleanup|type=rubbish|nocat=1}}
|-
| {{param|type|dump}}
| For use when an article was dumped from another website.
| {{Code|<nowiki>{{Cleanup|type=dump}}</nowiki>}}
| {{Cleanup|type=dump|nocat=1}}
|}
{{Clr}}
{{{othersections|}}} <!-- such as Tracking category -->
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
[[Category:Inline note templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
}}</includeonly>


== Documentation ==
<includeonly>[[Category:Notice templates|{{PAGENAME}}]]</includeonly>
{{ModernTodo|Create a proper documentation page}}
{{ModernTodo|Remove {{tl|lang}} and using {{tl|Autolang}} with strings subpage instead.}}
Tags a page for cleanup. You can choose to include a reasoning for tagging the page for cleanup, or simply place <code><nowiki>{{cleanup}}</nowiki></code> on the page.


[[Special:WhatLinksHere/Template:Cleanup|All articles requiring cleanup]]
== See also ==
* [[:Category:cleanup]]

Latest revision as of 18:24, 3 May 2025

Edit-copy.png
This is a documentation subpage for Template:Cleanup.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

Tags a page for cleanup. You can choose to include a reasoning for tagging the page for cleanup, or simply place {{cleanup}} on the page.

Parameters



See also