Template:Unreferenced section/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Debresser
(Undid revision 695613836 by Nurg (talk) Not an improvement, IMHO. Feel free to discuss changes to widespread templates and establish consensus before you make changes.)
m (67 revisions imported)
 
(17 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
 
{{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}}.


===Parameters===
Sample usage using optional "find" param:
* <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> or <code>section=</code> Replacement for the word "section", e.g. "table" or "list".
 
* <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.
==Parameters==
* {{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}} : 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 ==
<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 {{Refimprove section}} instead.",
    "params": {
"format": "inline",
        "date": {
"params": {
            "label": "Date added",
"date": {
            "description": "The date when this template was added to the section; if you leave this off, a bot will add it later.",
"label": "Month and year",
            "type": "string",
"description": "The month and year the tag was placed, such as 'June 2013', but not 'jun13'",
            "required": false
"type": "string",
        },
"required": false,
        "1": {
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
            "label": "Type",
"example": "June 2013",
            "description": "Replacement for the word \"section\", e.g. \"table\" or \"list\".",
"suggested": true
            "type": "string",
},
            "aliases": ["section"],
"small": {
            "required": false
"label": "Small",
        },
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.",
        "small": {
"type": "string",
            "label": "Small",
"required": false,
            "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.",
"autovalue": "y",
            "type": "string",
"example": "y"
            "required": false
},
        }
"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>


== 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