Template:Cleanup: Difference between revisions
Notjusttired (talk | contribs) m (dates not showing off called by another template) |
Notjusttired (talk | contribs) m (remove (optional), US dates) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
}}{{Category handler | }}{{Category handler | ||
|nocat = {{{nocat|}}} | |nocat = {{{nocat|}}} | ||
|main = {{DMC|Cleanup tagged articles without a reason field|from|{{#if: {{{date| | |main = {{DMC|Cleanup tagged articles without a reason field|from|{{#if: {{{date|}}}|{{year|{{{date|}}}}}|unknown year}} | ||
}}}} | }}}} | ||
|{{main other | |{{main other | ||
Line 11: | Line 11: | ||
| name = {{{name|Cleanup}}} | | name = {{{name|Cleanup}}} | ||
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | ||
| style = {{{style|}}} | | style = {{#ifeq:{{{color|}}}|orange|border-color:#f28500|{{{style|}}}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| type = {{{type|style}}} | | type = {{{type|style}}} | ||
Line 21: | Line 21: | ||
| fix = <br />{{Help improve text}} {{{fix|}}} | | fix = <br />{{Help improve text}} {{{fix|}}} | ||
| date = {{{date|unknown date}}} | | date = {{{date|unknown date}}} | ||
| cat = {{{cat| | | cat = {{{cat|Articles needing cleanup}}} | ||
| all = All articles needing cleanup | | all = All articles needing cleanup | ||
| cat2 = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field | | cat2 = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field | ||
Line 29: | Line 29: | ||
| demospace = {{{demospace|}}} | | demospace = {{{demospace|}}} | ||
| class = {{{class|ambox-Cleanup}}} | | class = {{{class|ambox-Cleanup}}} | ||
| style = {{#ifeq:{{{color|}}} | | style = {{#ifeq:{{{color|}}}|orange|border-color:#f28500|{{{style|}}}}} | ||
|image = | |image = | ||
{{#switch:{{{class}}} | {{#switch:{{{class}}} | ||
|Ambox-POV = [[File:Unbalanced scales.svg|50x40px|link=]] | |Ambox-POV = [[File:Unbalanced scales.svg|50x40px|link=|alt=unbalanced scales|class=transparent]] | ||
|Ambox-rewrite = [[File:Crystal Clear app kedit.svg|50x40px]] | |Ambox-rewrite = [[File:Crystal Clear app kedit.svg|50x40px|alt=notepad|class=transparent]] | ||
|#default =[[File:Crystal Clear app kedit.svg|50x40px]] | |Ambox-addimage = [[File:Add-image.jpg|40px|left|alt=Add an image|class=transparent]] | ||
|#default =[[File:Crystal Clear app kedit.svg|50x40px|alt=notepad|class=transparent]] | |||
}} | }} | ||
| type = {{{type|style}}} | | type = {{{type|style}}} | ||
| issue = {{{issue|{{int:pagetriage-tags-cleanup-desc}}}}}<br>{{cleanup reason text|lang={{int:lang}}|reason={{{reason|}}}|name={{{name|}}}}} | | issue = {{{issue|{{int:pagetriage-tags-cleanup-desc}}}}}<br>{{cleanup reason text|lang={{int:lang}}|reason={{{reason|}}}|name={{{name|}}}}} | ||
| talk = {{{talk|{{{talksection|}}}}}} | | talk = {{{talk|{{{talksection|}}}}}} | ||
| fix = <br />{{Help improve text}} {{{fix|}}} | | fix = <br />{{Help improve text}} {{{fix|}}} | ||
| date = {{{date|unknown date}}} | |||
}} | }} | ||
| demospace = {{{demospace|<noinclude>main</noinclude>}}} | | demospace = {{{demospace|<noinclude>main</noinclude>}}} | ||
Line 48: | Line 49: | ||
|category = {{{category|{{DMC|Categories needing cleanup}}}}} | |category = {{{category|{{DMC|Categories needing cleanup}}}}} | ||
|template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Templates needing cleanup}}}} | |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Templates needing cleanup}}}} | ||
|other = {{DMCA|All articles needing cleanup|from|{{#if: {{{date|}}}|{{year|{{{date|}}}}}|unknown year}}}} | |other = {{DMCA|All articles needing cleanup|from|{{#if: {{{date|}}}|{{year|{{{date|}}}}}|unknown year}}}}}} | ||
}} | |||
}} | }} | ||
<noinclude> | }}<noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": | "description": | ||
{ | { | ||
"en": "This template tag adds a \"Cleanup\" notice to a page, indicating that the page needs a significant clean-up. Please explain below why the page needs a clean-up. You do not need to enter the | "en": "This template tag adds a \"Cleanup\" notice to a page, indicating that the page needs a significant clean-up. Please explain below why the page needs a clean-up. You do not need to enter the date.", | ||
"ar": "يشير هذا إلى أن الصفحة تحتاج إلى تصحيح مهم ، وشرح أدناه سبب الحاجة إلى تصحيح الصفحة", | "ar": "يشير هذا إلى أن الصفحة تحتاج إلى تصحيح مهم ، وشرح أدناه سبب الحاجة إلى تصحيح الصفحة", | ||
"da": "Dette indikerer, at siden kræver en betydelig korrektion. Forklar nedenfor, hvorfor siden kræver korrektion.", | "da": "Dette indikerer, at siden kræver en betydelig korrektion. Forklar nedenfor, hvorfor siden kræver korrektion.", | ||
Line 105: | Line 104: | ||
} | } | ||
}, | }, | ||
"date": { | "date": | ||
{ | |||
"label": | "label": | ||
{ | { | ||
"en": " | "en": "Current date", | ||
" | "de": "Aktuelles Datum", | ||
"es": " | "es": "Fecha actual", | ||
" | "fr": "Date actuelle" | ||
}, | }, | ||
"description": | "description": | ||
{ | { | ||
"en": " | "en": "The current date will be automatically specified. If you wish, you can specify another date.", | ||
" | "de": "Das aktuelle Datum wird automatisch angegeben. Wenn Sie möchten, können Sie ein anderes Datum wählen.", | ||
"es": " | "es": "La fecha actual se especificará automáticamente. Si lo desea, puede elegir otra fecha.", | ||
" | "fr": "La date du jour sera automatiquement spécifiée. Si vous le souhaitez, vous pouvez choisir une autre date." | ||
}, | }, | ||
"example": "2019", | "example": "Aug 12, 2019", | ||
"type": "string", | "type": "string", | ||
"autovalue": "{{subst: | "autovalue": "{{subst:Date}}", | ||
"suggested": true | "suggested": true | ||
} | } |
Latest revision as of 13:23, December 13, 2021
This template tag adds a "Cleanup" notice to a page, indicating that the page needs a significant clean-up. Please explain below why the page needs a clean-up. You do not need to enter the date.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Please explain. See description for suggested reasons. | reason | Please describe why the page needs a clean-up. You may use the talk page for long descriptions. Suggested reasons - •'''accuracy''' is disputed •'''bias''' eg promotional content, misleading or lacks neutrality disputed •'''citations needed''' •'''editorial''' guidelines not met •'''image copyright''' missing or images may not be licensed for reuse •'''image essential''' •'''layout''' is poor or article is cluttered •'''multiple issues''' •'''spelling or grammar''' •'''rewrite''' to meet quality standards •'''sources unscientific''', may not meet science guidelines eg citing of Wikipedia, unreferenced articles, blogs •'''tidy citations''' eg link to authors •'''too long'''•'''too technical'''
| String | suggested |
Current date | date | The current date will be automatically specified. If you wish, you can specify another date.
| String | suggested |
This template should not be substituted. |
This template is used on approximately 100 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
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's Twinkle talk page as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
Uses Lua: |
Example[edit source]
{{Cleanup|reason=incorrect capitalization }}
This article needs cleanup to meet MEpedia's guidelines. The reason given is: incorrect capitalization (unknown date) |
{{Cleanup|reason=incorrect capitalization|date=2019}}
This article needs cleanup to meet MEpedia's guidelines. The reason given is: incorrect capitalization (2019) |
{{Cleanup|reason =incorrect capitalization|date={{year}}
This article needs cleanup to meet MEpedia's guidelines. The reason given is: incorrect capitalization (2024) |
Sandbox testing[edit source]
content hidden | ||||||
---|---|---|---|---|---|---|
{{Cleanup/sandbox|reason=incorrect capitalization no date }}
{{Cleanup/sandbox|reason=incorrect capitalization|date=2019}}
{{Cleanup/sandbox|reason =incorrect capitalization|date={{year}}
{{Cleanup/sandbox|date=2019}} You must add a
|
Usage[edit source]
{{Cleanup}}
should be used with the following parameter:
reason
: the reason for requesting cleanup. This is useful for editors in case the reason for requesting a cleanup is not immediately obvious. The first character of the reason (immediately after the equals sign) should be lowercase, in order to preserve the sentence flow when rendered.
date
: the date is automatically completed; this helps to figure out how long an article has been tagged for cleanup.
Optional parameters include:
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.
The template should be placed at the top of the article requiring a cleanup. 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 problem(s) being fixed if it is not possible to identify what needs to be cleaned up.
Do not substitute this template.
When to use[edit source]
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.
Articles that violate policy need more direct action. Other templates, such as {{POV}}
{{POV}}, are better suited to content disputes.
Examples[edit source]
For example, {{Cleanup|reason=the article is full of incorrect capitalization}}
would display as:
This article needs cleanup to meet MEpedia's guidelines. The reason given is: the article is full of incorrect capitalization (unknown date) |
Article |
| ||
---|---|---|---|
Category |
| ||
Template |
|
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[edit source]
This template will add pages on which it is used to a specific category Category:All articles needing cleanup containing pages needing cleanup or a dated subcategory thereof.
For tracking purposes it also categorises the page according to whether a reason code has been given.
Alternative[edit source]
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.
See also[edit source]
- Template:Cleanup/doc
- {{Cleanup/Citations needed}} - multiple references need to be added
- {{Cleanup/Editorial}} - Editorial guidelines not met
- {{Cleanup/Science}} - Science guidelines not met (referencing issues)
- {{Cleanup/MOS}} - Manual of style not met
- {{Cleanup/Tidy citations}} - For references that need a cleanup
- {{Cleanup/Too long}} - needs to be condensed or split into several pages
- {{Cleanup/Too technical}} - Science too complicated
- {{Cleanup/Image copyright}} - image copyright issues
- {{Cleanup/Image essential}} - must have an image but none on the page
- {{Cleanup/Multiple issues}}
- {{Cleanup/POV}} - Biased / not a neutral point of view
- {{Cleanup/Rewrite}}
- {{Cleanup/Spelling}} - spelling or grammar
- {{Cleanup/Layout}} - layout issues
- {{Cleanup/Translate}} - poor translations (future use)
- MEpedia:Cleanup
- Category:Cleanup templates
Redirects[edit source]
The above documentation is transcluded from Template:Cleanup/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |