Template:Cite: Difference between revisions

From The Reed and Rite
Created page with "<sup>''[citation needed]''<!-- --><includeonly>category: articles in need of citations</includeonly><!-- -->{{#if:{{{1|}}}|category: potential reference source}}<!-- --></sup><noinclude> This template allows a fact or sentence to be marked in need of a citation. It adds the article to category: articles in need of citations. ; See also : {{t|clarify}} : {{t|disputed}} : {{t|expand}} : category: reference templates category: notices..."
 
m Removed behavior of the text "citation needed" linking to the template page. Also removed note about recursive linking logic, as it was no longer needed with this change.
 
(76 intermediate revisions by the same user not shown)
Line 1: Line 1:
<sup>''[[Help:Cite|[citation needed]]]''<!--
<includeonly><sup>''[<span class="plainlinks"><span class="editorial-notation-tooltip"><!--
  --><span style="color:#4164c4;" title="{{#if:{{{reason|}}}<!--
    -->|{{{reason}}}<!--
    -->|A citation is needed for this statement.}} {{#if:{{{date|}}}| ({{{date}}})<!--
  -->}}">citation needed</span></span></span>]''</sup><!--
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category: Articles in Need of Citations]]}}</includeonly><noinclude>
== Description ==
This template should be added after statements in articles that should have some type of citation. Using the template automatically adds the article to [[:Category: Articles in Need of Citations]].


--><includeonly>[[category: articles in need of citations]]</includeonly><!--
This template is one of several [[:Help:References#Editorial_Notations|Editorial Notations]].


-->{{#if:{{{1|}}}|[[category: potential reference source]]}}<!--
==Usage==
 
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
--></sup><noinclude>
|-
 
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><div style="text-align: left;"><span style="font-weight: normal;">When just <code><nowiki>{{cite}}</nowiki></code> is passed, it will add a superscript note that says "''[citation needed]'' ". When you hover over it for a moment, a pop-up message will appear that says "A citation is needed for this statement.".</span></div>
This template allows a fact or sentence to be marked in need of a citation. It adds the article to [[:category: articles in need of citations]].
|-
 
! width=60%|You Type
; See also
!You Get
: {{t|clarify}}
|- style="text-align: center;"
: {{t|disputed}}
| <pre>An example sentence.{{cite}}</pre>
: {{t|expand}}
| An example sentence.{{cite}}
: [[:category: reference templates]]
|-
 
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Reason Parameter</span><br><div style="text-align: left;"><span style="font-weight: normal;">When <code>reason=</code> is passed, it will replace the text "A citation is needed for this statement." in the pop-up message with your input.</span></div>
[[category: notices]]
|-
! width=60%|You Type
!You Get
|- style="text-align: center;"
|<pre>An example sentence.{{cite|reason=Explanation of reason.}}</pre>
|An example sentence.{{cite|reason=Explanation of reason.}}
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Date Parameter</span><br><div style="text-align: left;"><span style="font-weight: normal;">When <code>date=</code> is passed, it will add your input to the end of the pop-up message in parentheses. The pop-up message "A citation is needed for this statement." will still appear unless <code>reason=</code> is also passed.</span></div>
|-
! width=60%|You Type
!You Get
|- style="text-align: center;"
|<pre>An example sentence.{{cite|date=March 1883}}</pre>
|An example sentence.{{cite|date=March 1883}}
|}


== Articles using Template ==
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
:{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
[[Category: Notices]]

Latest revision as of 22:26, 5 June 2025

Description

This template should be added after statements in articles that should have some type of citation. Using the template automatically adds the article to Category: Articles in Need of Citations.

This template is one of several Editorial Notations.

Usage

Tag Only
When just {{cite}} is passed, it will add a superscript note that says "[citation needed] ". When you hover over it for a moment, a pop-up message will appear that says "A citation is needed for this statement.".
You Type You Get
An example sentence.{{cite}}
An example sentence.[citation needed]
Reason Parameter
When reason= is passed, it will replace the text "A citation is needed for this statement." in the pop-up message with your input.
You Type You Get
An example sentence.{{cite|reason=Explanation of reason.}}
An example sentence.[citation needed]
Date Parameter
When date= is passed, it will add your input to the end of the pop-up message in parentheses. The pop-up message "A citation is needed for this statement." will still appear unless reason= is also passed.
You Type You Get
An example sentence.{{cite|date=March 1883}}
An example sentence.[citation needed]

Articles using Template