Template:Unreferenced section/doc: Difference between revisions
meta>SUM1 Fixes, filled in and removed redundant |
meta>Mathglot Update to add 'find' param to control display of {{find sources}}, per this discussion. |
||
Line 8: | Line 8: | ||
This template puts articles in [[:Category:Articles needing additional references]] or a dated subcategory thereof. If you leave the date off, a [[Wikipedia:Bots|bot]] will add it later. To fill the date automatically, you can use {{tlsx|Unreferenced section}}. | This template puts articles in [[:Category:Articles needing additional references]] or a dated subcategory thereof. If you leave the date off, a [[Wikipedia:Bots|bot]] will add it later. To fill the date automatically, you can use {{tlsx|Unreferenced section}}. | ||
Sample usage using optional "find" param: | |||
: {{tlx|Unreferenced section|find{{=}}search keyword(s)|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | |||
==Parameters== | ==Parameters== | ||
* {{para|date}}: month and year the section was last checked for | * {{para|date}} : month and year the section was last checked for references; 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. | * {{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. | ||
* {{para|find}} : any search string. This optional parameter adds a set of links produced by the {{tl|find sources}} template to the output. If omitted, no "find sources" links are displayed. | |||
== TemplateData == | == TemplateData == | ||
Line 36: | Line 40: | ||
"autovalue": "y", | "autovalue": "y", | ||
"example": "y" | "example": "y" | ||
}, | |||
"find": { | |||
"label": "Find", | |||
"description": "Search string for 'find sources' template. May be one or more words. Leave empty to suppress 'find sources' output.", | |||
"type": "string", | |||
"required": false, | |||
"example": "Austen's early life" | |||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"date", | "date", | ||
"small" | "small", | ||
"find" | |||
] | ] | ||
} | } |
Revision as of 02:16, 2 July 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=November 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}}
.
Sample usage using optional "find" param:
{{Unreferenced section|find=search keyword(s)|date=November 2024}}
Parameters
|date=
: month and year the section was last checked for references; e.g.,|date=November 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.|find=
: any search string. This optional parameter adds a set of links produced by the {{find sources}} template to the output. If omitted, no "find sources" links are displayed.
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 |
Find | find | Search string for 'find sources' template. May be one or more words. Leave empty to suppress 'find sources' output.
| String | optional |
See also