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

From blackwiki
Jump to navigation Jump to search
imported>Timrollpickering
m (undo change - that is where the template currently is)
imported>Lojbanist
(undo change - the redirect still works, and most users will call it that anyway)
Line 12: Line 12:
 
The {{tl|citation needed span}} template may be used when there is unsourced text that should be [[WP:CITE|attributed to a reference citation]]. Unlike the template {{tl|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.
 
The {{tl|citation needed span}} template may be used when there is unsourced text that should be [[WP:CITE|attributed to a reference citation]]. Unlike the template {{tl|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 [[WP:LINT|linting errors]] and may disrupt the page display. An alternative with multiple paragraphs is {{tlx|unreferenced|section}} or {{tlx|more citations needed|section}}.
+
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 [[WP:LINT|linting errors]] and may disrupt the page display. An alternative with multiple paragraphs is {{tlx|unreferenced|section}} or {{tlx|refimprove|section}}.
  
 
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.

Revision as of 20:34, 23 January 2018


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 {{refimprove|section}}.

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

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

The date is optional, so the minimal syntax is:

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

Example of usage:

Sourced material. {{citation needed span|text=Passage to be sourced. Another passage to be sourced.|date=December 2025}} 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=
The text needing attribution.
|date=
The date in the form December 2025. If omitted, a bot will add it within a day or so.
|reason=
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

ParameterDescriptionTypeStatus
Texttext 1

The text needing a citation

Contentrequired
Datedate

Month and year the tag was added

Example
June 2015
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Reasonreason

Reason the text needs a citation; shown in a tooltip

Default
This claim needs references to reliable sources
Auto value
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.

See also