Permanently protected template

Template:Citation needed span: Difference between revisions

From Vigyanwiki
Template>Lmatt
m (Protected "Template:Citation needed span" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(57 intermediate revisions by 31 users not shown)
Line 1: Line 1:
{{ safesubst:<noinclude/>#invoke:Unsubst||date=__DATE__ |$B=
{{Fix-span
{{Fix-span
|name=Cn-span
|content={{{text|{{{1|<includeonly>{{main other|[[Category:Pages using span cleanup templates without text|{{NAMESPACE}} {{PAGENAME}}]]}}{{error|This template '''must''' be used with a non-empty {{para|text}} parameter!}}</includeonly><noinclude>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</noinclude>}}}}}}
|content={{{1|<noinclude>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</noinclude>}}}
|link=Wikipedia:Citation needed
|link=Wikipedia:Citation needed
|text=citation needed
|text=citation needed
|class=Template-Fact
|class=Template-Fact
|span-class=citation-needed-content
|span-class=citation-needed-content
|title=This claim needs references to reliable sources
|title={{delink|{{{reason|This claim needs references to reliable sources.}}}}}
|date={{{date|}}}
|date={{{date|}}}
|cat=[[Category:All articles with unsourced statements]]
|cat=[[Category:All articles with unsourced statements]]
|cat-date=Category:Articles with unsourced statements}}{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}<noinclude>
|cat-date=Category:Articles with unsourced statements}}{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}
 
{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages containing citation needed template with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Citation needed span]] with unknown parameter "_VALUE_"|ignoreblank=y |1 | date | reason | text }}}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 09:42, 28 December 2022

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[citation needed]

Template documentation


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:Templates using TemplateData{{#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