Template:Cleanup section/doc: Difference between revisions

From CAPipedia
en>DocWatson42
m (→‎Usage: Made a minor correction.)
 
m (Text replacement - "Wikipedia[^:]" to "CAPipedia")
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories and interwikis go here: -->
<!-- Categories and interwikis go here: -->
[[Category:Wikipedia section templates]]
[[Category:CAPipediasection templates]]
[[Category:Cleanup templates]]
[[Category:Cleanup templates]]
}}</includeonly>
}}</includeonly>
Line 33: Line 33:
"example": "January 2013",
"example": "January 2013",
"type": "line",
"type": "line",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}"
"autovalue": "January 2024"
},
},
"small": {
"small": {

Latest revision as of 14:47, 23 January 2024

[[Category:Template documentation pages{{#translation:}}]]

This template is a wrapper for {{Cleanup}}

Usage

{{Cleanup section|date=July 2024|reason=}}

To be placed in sections that need attention. Full instructions are given at {{Cleanup}}.

To show it compressed at the left side of the section, add the parameter small=left.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cleanup section in articles based on its TemplateData.

TemplateData for Cleanup section

<templatedata> { "params": { "reason": { "label": "Reason", "type": "string", "required": true, "description": "Reason for requesting cleanup", "example": "The article is full of incorrect capitalization." }, "date": { "label": "Month and year", "suggested": true, "description": "The month and year that the template was placed (in full).", "example": "January 2013", "type": "line", "autovalue": "January 2024" }, "small": { "label": "Make template small", "description": "Enter \"left\" here to make the template box small and aligned to the left.", "type": "string", "autovalue": "left" }, "talksection": { "label": "Talk page section", "description": "The section of the talk page explaining what needs to be done", "type": "string" }, "nocat": { "label": "No category", "description": "Suppress categorization", "type": "string" }, "demospace": {} }, "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" } </templatedata>