Template:Unreferenced section/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>GKFX
(Make templatedata more informative.)
m (67 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
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==
* <code>date=</code> Month and year the section was last checked for referenced: {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* {{para|date}} : month and year the section was last checked for references; e.g., {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* <code>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|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 17: Line 21:
<templatedata>
<templatedata>
{
{
"description": "Only use this template when the section completely lacks references. For sections with some but too few references, use {{Refimprove 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.",
"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": {
"date": {
"date": {
"label": "Date added",
"label": "Month and year",
"description": "The month and year that the need for citations is identified, such as 'June 2013'; may use '{{subst:DATE}}' template instead; if not specified, this parameter will be filled automatically by a bot",
"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
},
},
Line 31: Line 37:
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.",
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.",
"type": "string",
"type": "string",
"required": false
"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",
"required": false,
"example": "Austen's early life"
}
}
}
},
"paramOrder": [
"date",
"small",
                "find"
]
}
}
</templatedata>
</templatedata>

Latest revision as of 13:58, 3 September 2020

Usage

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

Parameters

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