Template:Cleanup/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created Documentation page.)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
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.
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.


=== Examples ===
==Parameters==  
{| border=1 style="border-collapse:collapse; background:none" cellpadding=8
 
!colspan=2| Wikitext !! Result
{| class="standard-table plainlinks" style="width:100%"
|-
! Parameters
| <tt><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></tt>
! Description
| →
! Example
| {{ {{ROOTPAGENAME}} | nocat=1}}
! Result
|-
|style=white-space:nowrap| <tt><nowiki>{{</nowiki>{{ROOTPAGENAME}}|This is an example text.}}</tt>
| →
| {{ {{ROOTPAGENAME}} |This is an example text.| nocat=1 }}
|-
|-
|style=white-space:nowrap| <tt><nowiki>{{</nowiki>{{ROOTPAGENAME}}|<br># Enum<br># Eration<br>}}</tt>
| No Parameters
|
| For use when entire pages need to be clean upped
| {{ {{ROOTPAGENAME}} |
| {{Code|<nowiki>{{Cleanup}}</nowiki>}}
# Enum
| {{Cleanup|nocat=1}}
# Eration
|-
|nocat=1
| {{param|1}}
}}
| Optionally you can add additional info.
| {{Code|<nowiki>{{Cleanup|Example text}}</nowiki>}}
| {{Cleanup|Example text|nocat=1}}
|-
|-
| <tt>text<br><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|text}}</nowiki><br>text</tt>
|height="50px" | {{param|nocat}}
|
| Prevents page from being added to the [[:Category:Cleanup|Category:Cleanup]] category and/or [[:Category:Tutorial cleanup|Category:Tutorial cleanup]].
| {{Lorem ipsum}}
|colspan="2" style=text-align:center;|{{code|<nowiki>{{Cleanup|nocat=1}}</nowiki>}}
{{ {{ROOTPAGENAME}} | nocat=1 | {{Lorem ipsum}} }}
|-
{{Lorem ipsum}}
| {{param|type|tutorial}}
{{{otherexamples|}}}
| 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}}
{{Clr}}
Line 41: Line 51:
<includeonly>[[Category:Notice templates|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:Notice templates|{{PAGENAME}}]]</includeonly>


=== What l inks here ===
== See also ==
[[Special:WhatLinksHere/Template:Cleanup|All articles requiring cleanup]]
* [[: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