Template:Unreferenced section/doc: Difference between revisions

Content deleted Content added
Make templatedata more informative.
That template has been redirected
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(22 intermediate revisions by 15 users not shown)
Line 1:
{{documentation subpage}}
{{high-use|26539}}
{{tsh|Urs|Unrefsect}}
 
== Usage ==
: {{tlx|Unreferenced section|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
Only use this template when the section ''completely'' lacks references. For sections with some but too few references, use {{tl|RefimproveMore citations needed section}} instead.
 
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==
* <code>{{para|date=</code>}} Month: month and year the section was last checked for referenced:references; e.g., {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* <code>{{para|small=y</code>}} : 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}} : search keywords for {{tl|find sources}} param 1 (double-quoted search). 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.
* {{para|find2}} : search keywords for {{tl|find sources}} param 2 (unquoted search). Alias: <code>unquoted</code>.
 
== TemplateData ==
Line 17 ⟶ 23:
<templatedata>
{
"description": "Only useUse this template only when thea section completely lacks references. For sections with some but too few references, use {{RefimproveMore citations needed section}} instead.\n\nThis 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.",
"format": "inline",
"params": {
"date": {
"label": "DateMonth addedand year",
"description": "The month and year that the needtag forwas citations is identifiedplaced, such as 'JuneApril 20132023';, maybut usenot '{{subst:DATE}}apr23' template instead; if not specified, this parameter will be filled automatically by a bot",
"type": "string",
"required": false,
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"example": "April 2023",
"suggested": true
},
Line 31 ⟶ 39:
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.",
"type": "string",
"required": false,
"autovalue": "y",
"example": "y"
},
"find": {
"label": "Find",
"description": "Search keywords for 'find sources' double-quoted (exact) search. May be one or more words. Leave empty to suppress 'find sources' output.",
"type": "string",
"required": false,
"example": "Austen's early life"
},
"find2": {
"label": "Find2",
"description": "Search keywords for 'find sources' unquoted search.",
"type": "string",
"required": false,
"aliases": ["unquoted"]
}
},
"paramOrder": [
"date",
"small",
"find",
"find2"
]
}
</templatedata>
 
== See also ==
* {{tl|Unreferenced}}
* [[Wikipedia:Citation needed]] and {{Tl|Citation needed}}
* [[Wikipedia:Citing sources]]
Line 46 ⟶ 77:
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Citation and verifiability maintenance templates]]
[[Category:Wikipedia section templates]]
 
}}</includeonly>