wikilife>Redrose64 (Undid revision 992839617 by W like wiki (talk) comments on talk page please) |
小 (导入1个版本) |
(没有差异)
|
2020年12月27日 (日) 14:52的最新版本
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Cleanup. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Cleanup | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
40x40px | {{#if:only if you want to automatically add the "date=" parameter||}}This template should be substituted{{#if:only if you want to automatically add the "date=" parameter| only if you want to automatically add the "date=" parameter}}. |
40px | This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! {{#if:| {{{1}}}}} |
{{#if:||{{#ifeq:Cleanup/doc|Cleanup|}}}}
30px | This template uses Lua: |
Post articles on WikiProject Cleanup编辑
If you feel that your article needs a significant amount of cleanup, you can post articles on WP:CLEAN (Project Cleanup) to have them cleaned by users. It is more effective than tagging as there is a backlog for the tags. Editors will give your submitted article a cleanup and fix any problems associated with it. Please submit at WP:CLEAN.
Usage编辑
{{Cleanup}}
should be used with the following two parameters:
|{{SAFESUBST:#if:date|date=}}
: the month and year (e.g. 11月 2024) when the Cleanup template was added to the article; this helps to figure out how long an article has been tagged for cleanup.|{{SAFESUBST:#if:reason|reason=}}
: the reason for requesting cleanup. This is useful for editors in case the reason for requesting a cleanup is not immediately obvious.
Optional parameters include:
|{{SAFESUBST:#if:talk|talk=}}
or|{{SAFESUBST:#if:talksection|talksection=}}
: the section of the talk page explaining what needs to be done. Add a new section to the talk page explaining the type and extent of clean-up required, so editors will know what to address and when to remove this template.|{{SAFESUBST:#if:1|1=}}
(or an empty parameter): changes the default descriptor (i.e., "article"). For example,{{Cleanup|section}}
changes it to "section".|{{SAFESUBST:#if:small|small=}}
: enter 'left' here to turn the template into a small box on the left side of the screen.|{{SAFESUBST:#if:nocat|nocat=}}
: enter 'true' here to prevent the template from adding cleanup categories to the article.
The template should be placed at the top of the article requiring a cleanup. If practicable, please use a more specific cleanup template. Because {{Cleanup}}
is vague, specific problems should be identified in the reason
field; a more detailed explanation of what needs to be done can be provided on the article's talk page. An article's {{Cleanup}}
template may be removed without the problems being fixed if it is not possible to identify what needs to be cleaned up.
If this template is substituted, the end result consists of an unsubstituted form including an automatically filled date=
parameter with the current date.
When to use编辑
This tag is intended to identify pages that need wikification or the correction of spelling, grammar, typographical errors, tone, and other similar, non-content-focused changes. Use this tag when the article needs improvement per WP:BETTER.
Articles that violate policy need more direct action. Other templates, such as {{POV}}, are better suited to content disputes.
Alternative编辑
If the problem is correctable with the skills you already possess, consider being bold and fixing it yourself, rather than applying this template and leaving it for someone else to clean up.
Examples编辑
For example, {{Cleanup|reason=the article is full of incorrect capitalization.|date=11月 2024}}
would display as:
{{#ifexpr:{{#expr:{{#iferror:{{#time:U|11月 2024}}|2000000000}}>=1341100800}}*{{#if:the article is full of incorrect capitalization.|0|1}}*{{#ifeq:true|true|0|1}}
|模板:Error |{{#switch: {{#if:main | main | {{#ifeq:模板| | main | other }} }}
| main =
This article may require cleanup to meet Wikipedia's quality standards. {{#if:the article is full of incorrect capitalization.
|The specific problem is: the article is full of incorrect capitalization.
}}
}} Please help improve this article if you can. (11月 2024) (Learn how and when to remove this template message) |
{{#ifeq:|left|}}
| other
| #default =
This article may require cleanup to meet Wikipedia's quality standards. {{#if:the article is full of incorrect capitalization.
|The specific problem is: the article is full of incorrect capitalization. |No cleanup reason has been specified. }} Please help improve this article if you can{{#ifeq:模板|模板 |; the [[模板讨论:Cleanup/doc{{#if:|#{{{talksection}}}}}|talk page]] may contain suggestions. |.}} |
}} }}
Article | 11月 2024}}|2000000000}}>=1341100800}}*{{#if:lorem ipsum dolor sit amet.|0|1}}*{{#ifeq:true|true|0|1}} | 模板:Error | {{#switch:
{{#if:main |
main | main | other
}} }} |
main =
|
other | #default =
}} }} | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Category | 11月 2024}}|2000000000}}>=1341100800}}*{{#if:lorem ipsum dolor sit amet!|0|1}}*{{#ifeq:true|true|0|1}} | 模板:Error | {{#switch:
{{#if:category |
category | main | other
}} }} |
main =
|
other | #default =
}} }} | |||||||||||
Template | 11月 2024}}|2000000000}}>=1341100800}}*{{#if:lorem ipsum dolor sit amet?|0|1}}*{{#ifeq:true|true|0|1}} | 模板:Error | {{#switch:
{{#if:other |
other | main | other
}} }} |
main =
|
other | #default =
}} }} |
The descriptor (on the preceding example "template") can be changed from its default using the first parameter, for instance {{Cleanup|section}}
or {{Cleanup|disambiguation page}}
.
Categorization编辑
This template will add pages on which it is used to a specific category Category:Articles needing cleanup containing pages needing cleanup or a dated subcategory thereof.
Tracking categories编辑
- [[:Category:{{#ifeq:All pages|Category:|模板:Str right|All pages needing cleanup}}|{{#if:|{{{name}}}|Category:{{#ifeq:All pages|Category:|模板:Str right|All pages needing cleanup}}}}]] (0)
For tracking purposes it also categorises the page according to whether a reason code has been given.
See also编辑
- {{Cleanup AfD}} – For AfD discussions that closed as "keep", but require cleanup
- {{Cleanup image}} – For images that need cleanup
- {{Cleanup reorganize}} – For articles that need a reorganization in addition to cleanup
- {{Cleanup see also}} – For "See also" sections
- {{Multiple issues}}
- {{Spacing}}
- Wikipedia:Clarify the cleanup
- Wikipedia:Cleanup process
- Wikipedia:Template messages/Cleanup
- List of cleanup templates
Redirects编辑
{{#if:
- {{Attention}}
- {{Attention (on talk page)}}
- {{Attention see talk}}
- {{Attn}}
- {{CU}}
- {{Clean}}
- {{Clean up}}
- {{Clean-up}}
- {{Cleancat}}
- {{Cleanup-article}}
- {{Cleanup-because}}
- {{Cleanup-date}}
- {{Cleanup-quality}}
- {{Cleanup-reason}}
- {{Cleanup-since}}
- {{Clu}}
- {{Cu}}
- {{Improve}}
- {{Index-cleanup}}
- {{Quality}}
- {{Tidy}}
|
- {{Attention (on talk page)}}
- {{Attention see talk}}
- {{Attn}}
- {{CU}}
- {{Clean}}
- {{Clean up}}
- {{Clean-up}}
- {{Cleancat}}
- {{Cleanup-article}}
- {{Cleanup-because}}
- {{Cleanup-date}}
- {{Cleanup-quality}}
- {{Cleanup-reason}}
- {{Cleanup-since}}
- {{Clu}}
- {{Cu}}
- {{Improve}}
- {{Index-cleanup}}
- {{Quality}}
- {{Tidy}}
|* {{Attention}}
- {{Attention (on talk page)}}
- {{Attention see talk}}
- {{Attn}}
- {{CU}}
- {{Clean}}
- {{Clean up}}
- {{Clean-up}}
- {{Cleancat}}
- {{Cleanup-article}}
- {{Cleanup-because}}
- {{Cleanup-date}}
- {{Cleanup-quality}}
- {{Cleanup-reason}}
- {{Cleanup-since}}
- {{Clu}}
- {{Cu}}
- {{Improve}}
- {{Index-cleanup}}
- {{Quality}}
- {{Tidy}}
}}{{#ifeq: |yes
|}}}}
Wrappers编辑
- {{Cleanup section}}
- {{Cleanup-section}}
- {{Clean-up section}}
TemplateData编辑
|={{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Cleanup}}. |#default=[1]
}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:
|={{#ifeq:{{safesubst:#switch: yes |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Cleanup}}. |#default=[2]
}}}}
TemplateData for Cleanup
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }} <templatedata> { "description": "This tag is intended to identify pages that need wikification or the correction of spelling, grammar, typographical errors, tone, and other similar, non-content-focused changes. Use this tag when the article needs improvement per WP:BETTER.", "format": "inline", "params": { "date": { "label": "Month and year", "description": "Month and year the template was added to the page", "type": "string", "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}", "example": "January 2018", "required": true }, "reason": { "aliases": [ "2" ], "label": "Reason", "description": "Reason for requesting cleanup", "type": "string", "example": "The article is full of incorrect capitalization.", "required": true }, "talk": { "aliases": [ "talksection" ], "label": "Talk page section", "description": "The section of the talk page explaining what needs to be done", "type": "string" }, "small": { "label": "Small", "description": "Enter 'left' here to turn the template into a small box on the left side of the screen.", "type": "string", "autovalue": "left", "example": "left" }, "1": { "label": "Type (e.g., section)", "description": "Text to replace the word \"article\", usually \"section\"", "type": "string", "autovalue": "section", "example": "section" }, "nocat": { "label": "No category", "description": "Suppress categorization", "type": "string", "autovalue": "true", "example": "true" } }, "paramOrder": [ "date", "reason", "talk", "small", "1", "nocat" ] } </templatedata>