Template:Unreferenced section/doc: Difference between revisions

Source: Wikipedia, the free encyclopedia.
Content deleted Content added
Fixes, filled in and removed redundant
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 referenced; e.g., {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* {{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

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}}.

Sample usage using optional "find" param:

{{Unreferenced section|find=search keyword(s)|date=September 2024}}

Parameters

  • |date= : month and year the section was last checked for references; 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.
  • |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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Unreferenced section in articles based on its 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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Month and yeardate

The month and year the tag was placed, such as 'June 2013', but not 'jun13'

Example
June 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Smallsmall

Any value (typically "y", "yes", etc.) will make the template smaller.

Example
y
Auto value
y
Stringoptional
Findfind

Search string for 'find sources' template. May be one or more words. Leave empty to suppress 'find sources' output.

Example
Austen's early life
Stringoptional

See also