Difference between revisions of "Template:Citation needed span/doc"

From blackwiki
Jump to navigation Jump to search
imported>Shellwood
m (Reverted edits by 2600:6C51:7B7F:FF8F:5164:877E:48E6:EFE1 (talk) (HG) (3.4.6))
imported>Þjarkur
(The "text=" parameter isn't necessary, enough to use {{cns|bla bla}}, which is simpler to use.)
Line 15: Line 15:
 
Once a citation is added, please remove this template from the surrounded text.
 
Once a citation is added, please remove this template from the surrounded text.
  
 +
:{{tlx|citation needed span|date&#61;{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}|<var>Passage(s) to be sourced</var>}}, or:
 
:{{tlx|citation needed span|date&#61;{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}|text&#61;<var>Passage(s) to be sourced</var>}}
 
:{{tlx|citation needed span|date&#61;{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}|text&#61;<var>Passage(s) to be sourced</var>}}
  
 
The date is optional, so the minimal syntax is:
 
The date is optional, so the minimal syntax is:
:{{tlx|citation needed span|text&#61;<var>Passage(s) to be sourced</var>}}
+
:{{tlx|citation needed span|<var>Passage(s) to be sourced</var>}}
  
 
'''Example of usage:'''
 
'''Example of usage:'''
  
:<code>Sourced material. {{tlx|citation needed span|date&#61;{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}|text&#61;Passage to be sourced. Another passage to be sourced.}} More sourced material.</code>
+
:<code>Sourced material. {{tlx|citation needed span|date&#61;{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}|Passage to be sourced. Another passage to be sourced.}} More sourced material.</code>
  
:Sourced material. {{citation needed span|date&#61;{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}|text=Passage to be sourced. Another passage to be sourced.}} More sourced material.
+
:Sourced material. {{citation needed span|date={{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}|Passage to be sourced. Another passage to be sourced.}} More sourced material.
  
'''Compare usage of {{tl|Citation needed}}:'''
+
'''Compare usage of {{tl|citation needed}}:'''
  
 
:<code>Sourced material. Passage to be sourced.{{tlx|Citation needed}}</code> <code>Another passage to be sourced.{{tlx|Citation needed}}</code> <code>More sourced material.</code>
 
:<code>Sourced material. Passage to be sourced.{{tlx|Citation needed}}</code> <code>Another passage to be sourced.{{tlx|Citation needed}}</code> <code>More sourced material.</code>
Line 36: Line 37:
 
There are three parameters to the template:
 
There are three parameters to the template:
  
;{{para|text}}: The unreferenced content that needs a citation.
+
;{{para|text}} (or no parameter): The unreferenced content that needs a citation.
 
;{{para|date}}: The date in the form <code>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code>. If omitted, {{U|AnomieBOT}} will add it if there are no new edits for a few minutes.
 
;{{para|date}}: The date in the form <code>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code>. If omitted, {{U|AnomieBOT}} will add it if there are no new edits for a few minutes.
 
;{{para|reason}}: The reason for the citation request. If omitted, "This claim needs references to reliable sources." will be used. This text is shown as a [[tooltip]].
 
;{{para|reason}}: The reason for the citation request. If omitted, "This claim needs references to reliable sources." will be used. This text is shown as a [[tooltip]].
Line 84: Line 85:
 
Adding this template to an article places the article into [[:Category:All articles with unsourced statements]], [[:Category:Articles with unsourced statements]], and/or dated subcategories thereof.
 
Adding this template to an article places the article into [[:Category:All articles with unsourced statements]], [[:Category:Articles with unsourced statements]], and/or dated subcategories thereof.
  
=== See also ===
+
== Redirects to this template ==
 +
* {{tl|cns}}
 +
* {{tl|cspan}}
 +
* {{tl|cnspan}}
 +
* {{tl|fact span}}
 +
* {{tl|citation span}}
 +
* {{tl|citations needed span}}
 +
* {{tl|reference necessary}}
 +
* {{tl|reference required}}
 +
 
 +
== See also ==
 
* {{tl|Citation needed}} – equivalent which does not precisely identify the problematic text
 
* {{tl|Citation needed}} – equivalent which does not precisely identify the problematic text
 
* {{tl|Unreferenced section}} – for entire sections requiring [[WP:V|verifiable]] [[WP:RS|references]]&nbsp;/&nbsp;[[WP:CITE|citations]]
 
* {{tl|Unreferenced section}} – for entire sections requiring [[WP:V|verifiable]] [[WP:RS|references]]&nbsp;/&nbsp;[[WP:CITE|citations]]

Revision as of 15:33, 8 October 2019

Usage

Do not substitute this template.

The {{citation needed span}} template may be used when there is unsourced text that should be attributed to a reference citation. Unlike the template {{citation needed}}, this template attaches explicitly to a portion of text, for example one or more specific sentences, by surrounding the text with the template. This is especially useful for flagging a block of multiple facts or multiple sentences as needing citation, and for singling out a specific fact that is unsourced among many sourced ones.

Avoid use for multiple paragraphs or around a list without closing and opening each template around each paragraph or list item. This kind of use causes linting errors and may disrupt the page display. An alternative with multiple paragraphs is {{unreferenced|section}} or {{more citations needed|section}}.

Once a citation is added, please remove this template from the surrounded text.

{{citation needed span|date=December 2025|Passage(s) to be sourced}}, or:
{{citation needed span|date=December 2025|text=Passage(s) to be sourced}}

The date is optional, so the minimal syntax is:

{{citation needed span|Passage(s) to be sourced}}

Example of usage:

Sourced material. {{citation needed span|date=December 2025|Passage to be sourced. Another passage to be sourced.}} More sourced material.
Sourced material. Passage to be sourced. Another passage to be sourced.[citation needed] More sourced material.

Compare usage of {{citation needed}}:

Sourced material. Passage to be sourced.{{Citation needed}} Another passage to be sourced.{{Citation needed}} More sourced material.
Sourced material. Passage to be sourced.[citation needed] Another passage to be sourced.[citation needed] More sourced material.

Parameters

There are three parameters to the template:

|text= (or no parameter)
The unreferenced content that needs a citation.
|date=
The date in the form December 2025. If omitted, Template:U will add it if there are no new edits for a few minutes.
|reason=
The reason for the citation request. If omitted, "This claim needs references to reliable sources." will be used. This text is shown as a tooltip.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Citation needed span

Marks a specific piece of text as needing a citation.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Texttext 1

The text needing a citation

Auto value
Contentrequired
Datedate

Month and year the tag was added

Example
June 2015
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Datesuggested
Reason?reason

Reason the text needs a citation; shown in a tooltip

Default
This claim needs references to reliable sources
Stringsuggested

Categorization of articles

Adding this template to an article places the article into Category:All articles with unsourced statements, Category:Articles with unsourced statements, and/or dated subcategories thereof.

Redirects to this template

See also