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
{{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|
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==
*
*
* {{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": "
"format": "inline",
"params": {
"date": {
"label": "
"description": "The month and year
"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>
|