Template:Cleanup/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Documentation: Unicodifying, replaced: {{ModernTodo| → {{todo| (2))
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Language subpage}}
{{Doc/subpage}}


== 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>
{{todo|Create a proper documentation page}}
{{todo|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