Template:Citation needed span/doc

From CAPipedia
Revision as of 13:24, 23 January 2024 by Mclarty (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[Category:Template documentation pages{{#translation:}}]]


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=December 2024|Passage(s) to be sourced}}, or:
{{citation needed span|date=December 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=December 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 December 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 for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Citation needed span in articles based on its TemplateData.

TemplateData for Citation needed span

<templatedata> { "params": { "text": { "aliases": [ "1" ], "description": "The text needing a citation", "type": "content", "required": true, "label": "Text", "autovalue": "" }, "reason": { "description": "Reason the text needs a citation; shown in a tooltip", "type": "string", "default": "This claim needs references to reliable sources", "suggested": true, "label": "Reason?" }, "date": { "description": "Month and year the tag was added", "example": "June 2015", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true, "label": "Date" } }, "description": "Marks a specific piece of text as needing a citation.", "paramOrder": [ "text", "date", "reason" ], "format": "inline" } </templatedata>

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