Template:Unreferenced section/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw
m (add {{TemplateData header}} (via JWB))
m (67 revisions imported)
 
(11 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{high-use|23000+}}
{{high-use|26539}}
{{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|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 [[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==
* <code>date=</code> Month and year the template was added: {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* {{para|date}} : month and year the section was last checked for references; e.g., {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* <code>1=</code> Replacement for the word "section", e.g. "table" or "list".
* {{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.
* <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|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 16: Line 21:
<templatedata>
<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 {{Refimprove section}} instead.",
"format": "inline",
"params": {
"params": {
"1": {
"label": "Type",
"description": "Replacement for the word \"section\", e.g. \"table\" or \"list\".",
"type": "string",
"aliases": [
"section"
],
"required": false
},
"date": {
"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 'June 2013', but not 'jun13'",
"type": "string",
"type": "string",
"required": false,
"required": false,
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"example": "June 2013",
"suggested": true
"suggested": true
},
},
"small": {
"small": {
"label": "Small",
"label": "Small",
"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.",
"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 string for 'find sources' template. May be one or more words. Leave empty to suppress 'find sources' output.",
"type": "string",
"type": "string",
"required": false
"required": false,
"example": "Austen's early life"
}
}
}
},
"paramOrder": [
"date",
"small",
                "find"
]
}
}
</templatedata>
</templatedata>


== See also ==
== See also ==
* {{Tl|Citation needed}}
* [[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]]
</includeonly>
}}</includeonly>

Latest revision as of 13:58, 3 September 2020

Usage

{{Unreferenced section|date=June 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=June 2024}}

Parameters

  • |date= : month and year the section was last checked for references; e.g., |date=June 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 this template in articles based on this 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