Jump to content

Template:Citation needed: Difference between revisions

From Consumer_Action_Taskforce
m add category
m Improve template logic, formating, move to table for examples
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><sup>[ ''citation needed'' {{{reason|}}} {{{date|}}} ]</sup></includeonly><noinclude>
<includeonly><sup>&#91;<i>citation needed</i>{{#if:{{{reason|}}}|&#32;&#45;&#32;{{{reason}}}}}{{#if:{{{date|}}}|&#32;&#40;{{{date}}}&#41;}}&#93;</sup></includeonly><noinclude>
This template creates a superscript citation needed tag that appears as: <p>I want to mark this{{Citation needed}}</p>
Use this template when an uncited claim is made in an article.
 
== Usage ==
== Usage ==
Simply add <nowiki>{{Citation needed}}</nowiki> after the statement that needs a citation.
Simply add <nowiki>{{Citation needed}}</nowiki> after the statement that needs a citation.
This creates a superscript "citation needed" tag that appears as:
I want to mark this{{Citation needed}}
=== Examples ===
Examples of usage for the template
{| class="wikitable"
! Example !! Result
|-
|Some cars can fly<code><nowiki>{{Citation needed}}</nowiki></code> || Some cars can fly{{Citation needed}}
|-
|The sky is blue<code><nowiki>{{Citation needed|date=January 2024}}</nowiki></code>||The sky is blue{{Citation needed|date=January 2024}}
|-
|This fact requires proof<code><nowiki>{{Citation needed|reason=Source is personal account}}</nowiki></code>||This fact requires proof{{Citation needed|reason=Source is personal account}}
|-
|This fact requires proof<code><nowiki>{{Citation needed|reason=No reliable sources|date=Jan 2024}}</nowiki></code>||This fact also requires proof{{Citation needed|reason=No reliable sources|date=Jan 2024}}
|}


=== Examples ===
<ul>
<ul>
<li>Some cars can fly {{Citation needed}}</li>
<li></li>
<li>The sky is blue {{Citation needed|date=January 2024}}</li>
<li></li>
<li>This fact requires proof {{Citation needed|reason=Source is personal account}}</li>
<li></li>
<li>This fact also requires proof {{Citation needed|reason=No reliable sources provided|date=January 2024}}</li>
<li></li>
</ul>
</ul>
=== Template Data ===
=== Template Data ===
Line 18: Line 31:
"params": {
"params": {
"date": {
"date": {
"description": "When the tag was added "
"description": "When the tag was added ",
"type": "date"
},
},
"reason": {
"reason": {
"description": "Why a citation is needed (if unclear)"
"description": "Why a citation is needed (if unclear)",
"type": "string"
}
}
}
},
"description": "The parameters accepted by this template. "
}
}
</templatedata>
</templatedata>

Latest revision as of 13:41, 26 February 2025

Use this template when an uncited claim is made in an article.

Usage

Simply add {{Citation needed}} after the statement that needs a citation. This creates a superscript "citation needed" tag that appears as:

I want to mark this[citation needed]

Examples

Examples of usage for the template

Example Result
Some cars can fly{{Citation needed}} Some cars can fly[citation needed]
The sky is blue{{Citation needed|date=January 2024}} The sky is blue[citation needed (January 2024)]
This fact requires proof{{Citation needed|reason=Source is personal account}} This fact requires proof[citation needed - Source is personal account]
This fact requires proof{{Citation needed|reason=No reliable sources|date=Jan 2024}} This fact also requires proof[citation needed - No reliable sources (Jan 2024)]

Template Data

The parameters accepted by this template.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
datedate

When the tag was added

Dateoptional
reasonreason

Why a citation is needed (if unclear)

Stringoptional

See also