Jump to content

Template:Unreferenced section/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
mNo edit summary
That template has been redirected
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(34 intermediate revisions by 24 users not shown)
Line 1: Line 1:
[[Link title]]{{documentation subpage}}
{{documentation subpage}}
{{high-use|23000+}}
{{high-use}}
{{tsh|Urs|Unrefsect}}
{{tsh|Urs|Unrefsect}}

== Usage ==
== Usage ==
: {{tlx|Unreferenced section|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
: {{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|More 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}}.
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:
===Parameters===
* <code>date=</code> Month and year the template was added: {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
: {{tlx|Unreferenced section|find{{=}}search keyword(s)|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}

* <code>1=</code> Replacement for the word "section", e.g. "table" or "list".
==Parameters==
* <code>small=y</code> Any value (typically "y", "yes", etc.) will make the template smaller; for use when it applies to something smaller than a section within the article, such as a table, which must be specified in the first (a.k.a. <code>section</code>) parameter. The template should normally be full-width when it applies to an entire section.
* {{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|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 ==
== TemplateData ==
<TemplateData>
{{TemplateData header}}
<templatedata>
{
{
"description": "A template to mark a section (or other subset) of an article as being unreferenced.",
"description": "Use this template only when a section completely lacks references. For sections with some but too few references, use {{More citations needed section}} instead.",
"format": "inline",
"params": {
"date": {
"params": {
"date": {
"label": "Date added",
"label": "Month and year",
"description": "The date when this template was added to the section; if you leave this off, a bot will add it later.",
"description": "The month and year the tag was placed, such as 'April 2023', but not 'apr23'",
"type": "string",
"type": "string",
"required": false
"required": false,
},
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"1": {
"example": "April 2023",
"label": "Type",
"suggested": true
"description": "Replacement for the word \"section\", e.g. \"table\" or \"list\".",
},
"type": "string",
"small": {
"aliases": ["section"],
"label": "Small",
"required": false
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.",
},
"type": "string",
"small": {
"required": false,
"label": "Small",
"autovalue": "y",
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller; for use when it applies to something smaller than a section within the article, such as a table, which must be specified in the first (a.k.a. <code>section</code>) parameter.",
"example": "y"
"type": "string",
},
"required": false
"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>
</TemplateData>


== See also ==
== See also ==
* {{Tl|Citation needed}}
* {{tl|Unreferenced}}
* [[Wikipedia:Citation needed]] and {{Tl|Citation needed}}
* [[Wikipedia:Citing sources]]
* [[Wikipedia:Citing sources]]


{{Citation and verifiability article maintenance templates}}
{{Citation and verifiability article maintenance templates}}


<includeonly>
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Citation and verifiability maintenance templates]]
[[Category:Citation and verifiability maintenance templates]]
[[Category:Wikipedia section templates]]
</includeonly>

}}</includeonly>

Latest revision as of 08:07, 20 June 2024

Usage

[edit]
{{Unreferenced section|date=November 2024}}

Only use this template when the section completely lacks references. For sections with some but too few references, use {{More 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 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

[edit]
  • |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= : search keywords for {{find sources}} param 1 (double-quoted search). 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.
  • |find2= : search keywords for {{find sources}} param 2 (unquoted search). Alias: unquoted.

TemplateData

[edit]
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 {{More citations needed 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 'April 2023', but not 'apr23'

Example
April 2023
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 keywords for 'find sources' double-quoted (exact) search. May be one or more words. Leave empty to suppress 'find sources' output.

Example
Austen's early life
Stringoptional
Find2find2 unquoted

Search keywords for 'find sources' unquoted search.

Stringoptional

See also

[edit]