Template:Citation needed: Difference between revisions

Kostas (talk | contribs)
m Reverted edits by Kostas (talk) to last revision by Travis
Tag: Rollback
Changed visualeditor docs.
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly><sup>&#91;<i>[[Consumer Rights Wiki:Verifiability|citation needed]]</i>{{#if:{{{reason|}}}|&#32;&#45;&#32;{{{reason}}}}}{{#if:{{{date|}}}|&#32;&#40;{{{date}}}&#41;}}&#93;</sup>{{#ifeq:{{{nocat}}}|yes||[[Category:Articles in need of citations]]}}</includeonly><noinclude>
= Template:Citation needed =
Use this template when an uncited claim is made in an article. The "[[:Category: Articles in need of citations|Articles in need of citations]]" category is automatically applied to the article when published.
 
This template creates a superscript citation needed tag that appears as: {{Citation needed}}
 
== 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>
* Some cars can fly{{Citation needed}}
<li></li>
* The sky is blue{{Citation needed|date=January 2024}}
<li></li>
* This fact requires proof{{Citation needed|reason=No reliable sources provided}}
<li></li>
<li></li>
</ul>
=== Template Data ===


=== Parameters ===
<templatedata>
* date - When the tag was added (optional)
{
* reason - Why a citation is needed (optional)
"params": {
"date": {
"description": "When the tag was added ",
"type": "date",
"label": "Date"
},
"reason": {
"description": "Why a citation is needed (if unclear)",
"type": "string",
"label": "Reason"
},
"nocat": {
"label": "Disable category",
"description": "If set to “yes”, disable the ‘Articles in need of citations’ category from automatically appearing.",
"example": "“yes” to disable category, anything else to enable.",
"type": "string"
}
},
"description": "The parameters accepted by this template. ",
"format": "inline"
}
</templatedata>


== See also ==
== See also ==
* [[Template:Cite]]
* [[Template:Cite web]]
* [[Template:Reference]]
* [[Help:References]]


[[Category:Citation templates]]
[[Category:Citation templates]]
[[Category:Documentation templates]]
[[Category:Inline cleanup templates]]
</noinclude>
</noinclude>
<includeonly><sup>[''citation needed''{{{date:+as of %s|}}} {{{reason:+– %s|}}}]</sup></includeonly>