Template:Confusing section/doc: Difference between revisions

From CAPipedia
m 1 revision imported
m Text replacement - "Wikipedia[^:]" to "CAPipedia"
 
Line 26: Line 26:
"description": "The date this template was added, in the format [full month name] [full year].",
"description": "The date this template was added, in the format [full month name] [full year].",
"example": "January 2015",
"example": "January 2015",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"autovalue": "January 2024",
"required": true
"required": true
}
}
Line 41: Line 41:
[[Category:Cleanup templates]]
[[Category:Cleanup templates]]
[[Category:Coherency templates]]
[[Category:Coherency templates]]
[[Category:Wikipedia section templates]]
[[Category:CAPipediasection templates]]


[[sv:Mall:Förvirrande]]
[[sv:Mall:Förvirrande]]
}}</includeonly>
}}</includeonly>

Latest revision as of 15:10, 23 January 2024

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

Usage

This template adds a variant of {{Confusing}} customized for a single section.

Add {{Confusing section|date=March 2025}} at the top of the section, to generate the following tag-box:

The parameters are: reason and date (example: March 2025). See below.

Template data

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

TemplateData for Confusing section

<templatedata> { "description": "Mark a section as confusing", "params": { "reason": { "label": "What is confusing", "type": "string", "description": "Explain what part of the section needs to be clarified." }, "date": { "label": "Date", "type": "date", "description": "The date this template was added, in the format [full month name] [full year].", "example": "January 2015", "autovalue": "January 2024", "required": true } }, "format": "inline" } </templatedata>

See also