Difference between revisions of "Template:Cleanup"
Jump to navigation
Jump to search
(Shamelessly copied from wiki.openstreetmap.org which includes plenty of translations already) |
(Changed the "reason" formatting to italic and not bold, because it became a bit confusing) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{main other | ||
|type = | | | ||
|text = {{ | {{ambox | ||
| name = Cleanup | |||
| | | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | ||
| type = style | |||
| class = ambox-Cleanup | |||
| text = {{{text|This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require {{Wikipedia|Wikipedia:cleanup|cleanup}} to meet this wiki's [[Editing Guidelines]]'''. {{#if:{{{2|{{{reason|}}}}}} | |||
|The specific problem is: ''{{Terminate sentence|{{{2|{{{reason}}}}}}}}'' | |||
|No [[Template:Cleanup/doc|cleanup reason]] has been specified. | |||
}} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}} | |||
|; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|#{{{talksection}}}}}|talk page]] may contain suggestions. | |||
|. | |||
}}}}} | |||
| small = {{{small|}}} | |||
| sect = {{{1|}}} | |||
| issue = may '''require {{Wikipedia|Wikipedia:cleanup|cleanup}}''' to meet this wiki's [[Editing Guidelines]]. {{#if:{{{2|{{{reason|}}}}}} | |||
|The specific problem is: ''{{Terminate sentence|{{{2|{{{reason|(unknown)}}}}}}}}'' | |||
}} | |||
| talk = {{{talk|{{{talksection|}}}}}} | |||
| fix = {{#if:{{{2|{{{reason|}}}}}}| | |||
|No [[Template:Cleanup/doc|cleanup reason]] has been specified. | |||
}} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can. | |||
| removalnotice = yes | |||
| date = {{{date|}}} | |||
| cat = Articles needing cleanup | |||
| all = All pages needing cleanup | |||
| cat2 = Cleanup tagged articles with{{#if:{{{2|{{{reason|}}}}}}||out}} a reason field | |||
}} | }} | ||
| | |||
|{{mbox | |||
| demospace = {{{demospace|}}} | |||
| type = style | |||
| text = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require {{Wikipedia|Wikipedia:cleanup|cleanup}} to meet this wiki's [[Editing Guidelines]]'''. {{#if:{{{2|{{{reason|}}}}}} | |||
|The specific problem is: ''{{Terminate sentence|{{{2|{{{reason}}}}}}}}'' | |||
|No [[Template:Cleanup/doc|cleanup reason]] has been specified. | |||
}} Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can{{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}} | |||
|; the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|#{{{talksection}}}}}|talk page]] may contain suggestions. | |||
|. | |||
}} | |||
}} | }} | ||
| demospace = {{{demospace|<noinclude>main</noinclude>}}} | |||
| | }} | ||
| | {{Category handler | ||
|page = {{SUBJECTPAGENAME}} | |||
|nocat = {{{nocat|}}} | |||
|category = | |||
{{DMC|Wikipedia categories needing cleanup|from|{{{date|}}}}} | |||
| | |template = {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1}}|Template:Cleanup||{{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}}}} | ||
|other = | |||
{{DMCA|Wikipedia pages needing cleanup|from|{{{date|}}}}} | |||
}} | |||
<noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
Latest revision as of 03:14, 30 May 2023
This template may require cleanup to meet this wiki's Editing Guidelines. No cleanup reason has been specified. Please help improve this template if you can; the talk page may contain suggestions. |
This documentation is transcluded from Template:Cleanup/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Cleanup
{
"description": "Template used to propose some cleanup of a page",
"format": "inline",
"params": {
"1": {
"aliases": ["reason"],
"label": "reason",
"description": "The reason the article is in need of cleanup",
"example": "The reason ...",
"type": "content"
},
"2": {
"description": "discussion page name if not equal to the discussion page of the page the template is placed on",
"example": "Talk:Wiki / 2=Tag:highway=motorway",
"type": "wiki-page-name"
},
"lang": {
"description": "language code, use if the language inferred from the page title is not correct",
"example": "uk",
"type": "string",
"default": "en"
},
"nocat": {
"description": "insert any text to switch off categorisation, useful for wiki manuals like \"Wiki organisation\"",
"type": "string"
}
}
}
Add this template at the top of pages requiring some cleanup.
- A short optional text may also be specified in the first parameter (possibly named
|reason=
) to describe or explain the cleanup actions that need to be performed within the page including this template. - The talk page linked from the message is by default the talk page associated to the current page, but an alternative talk page may be specified in optional second parameter.
- Specify the language of the message by |lang=*, otherwise the language is determined from the current page (using {{Langcode}}).
See also
- To view all pages marked with this template: Category:Cleaning Request