Template:Unreferenced section/doc: Difference between revisions
meta>GKFX Make templatedata more informative. |
meta>SUM1 Fixes, filled in and removed redundant |
||
Line 10: | Line 10: | ||
==Parameters== | ==Parameters== | ||
* | * {{para|date}}: month and year the section was last checked for referenced; e.g., {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
* | * {{para|small}}: Any value (typically "y", "yes", etc.) will make the template smaller. The template should normally be full-width when it applies to an entire section. | ||
== TemplateData == | == TemplateData == | ||
Line 17: | Line 17: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "Use this template only when a section completely lacks references. For sections with some but too few references, use {{Refimprove section}} instead.", | ||
"format": "inline", | |||
"params": { | "params": { | ||
"date": { | "date": { | ||
"label": " | "label": "Month and year", | ||
"description": "The month and year | "description": "The month and year the tag was placed, such as 'June 2013', but not 'jun13'", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", | "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", | ||
"example": "June 2013", | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 31: | Line 33: | ||
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.", | "description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false, | ||
"autovalue": "y", | |||
"example": "y" | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"date", | |||
"small" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 12:43, 9 February 2020
This is a documentation subpage for Template:Unreferenced section. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 29,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. |
Usage
{{Unreferenced section|date=September 2024}}
Only use this template when the section completely lacks references. For sections with some but too few references, use {{Refimprove section}} instead.
This template puts articles in Category:Articles needing additional references or a dated subcategory thereof. If you leave the date off, a bot will add it later. To fill the date automatically, you can use {{subst:unreferenced section}}
.
Parameters
|date=
: month and year the section was last checked for referenced; e.g.,|date=September 2024
|small=
: Any value (typically "y", "yes", etc.) will make the template smaller. The template should normally be full-width when it applies to an entire section.
TemplateData
TemplateData for Unreferenced section
Use this template only when a section completely lacks references. For sections with some but too few references, use {{Refimprove section}} instead.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Month and year | date | The month and year the tag was placed, such as 'June 2013', but not 'jun13'
| String | suggested |
Small | small | Any value (typically "y", "yes", etc.) will make the template smaller.
| String | optional |
See also