Template:Citation needed span/doc: Difference between revisions

From Vigyanwiki
< Template:Citation needed span
m (1 revision imported)
(Doesn't redirect here)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE -->
{{Redirect|Cspan|the Cable-Satellite Public Affairs Network-related template|Template:C-SPAN}}
<includeonly>
<includeonly>
{{template shortcut|cns|cn span|cn-span|Fact span|Fact-span|Reference necessary}}
{{template shortcut|cns|cn span|cn-span|Fact span|Fact-span|Reference necessary}}

Revision as of 01:05, 12 December 2022

Usage

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=November 2024|Passage(s) to be sourced}}, or:
{{citation needed span|date=November 2024|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=November 2024|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 November 2024. If omitted, AnomieBOT 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.

Citation needed span

[[Category:TemplateData documentation{{#translation:}}]]

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