Template:Cite: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 14: Line 14:


{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-
|-  
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><span style="font-weight: normal;">When just <code><nowiki>{{cite}}</nowiki></code> is passed, it will add a superscript note that says "''[citation needed]''".<br>When you hover over it for a moment, a pop-up message will appear that says "A citation is needed for this statement.".</span>
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><span style="font-weight: normal;">When just <code><nowiki>{{cite}}</nowiki></code> is passed, it will add a superscript note that says "''[citation needed]''".<br>When you hover over it for a moment, a pop-up message will appear that says "A citation is needed for this statement.".</span>
|-
|-
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|-
|- style="text-align: center; background-color: white;"
| style="text-align: center; background-color: white;" |<pre>An example sentence.{{cite}}</pre>
| <pre>An example sentence.{{cite}}</pre>
| style="background-color: white;" |An example sentence.{{cite}}
| An example sentence.{{cite}}
|-
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Reason Parameter</span><br><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>
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Reason Parameter</span><br><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>
Line 27: Line 27:
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|-
|- style="text-align: center; background-color: white;"
| style="text-align: center; background-color: white;" |<pre>An example sentence.{{cite|reason=Explanation of reason.}}</pre>
|<pre>An example sentence.{{cite|reason=Explanation of reason.}}</pre>
| style="background-color: white;" |An example sentence.{{cite|reason=Explanation of reason.}}
|An example sentence.{{cite|reason=Explanation of reason.}}
|-
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Date Parameter</span><br><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.</span>
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Date Parameter</span><br><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.</span>
Line 35: Line 35:
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|-
|- style="text-align: center; background-color: white;"
| style="text-align: center; background-color: white;" |<pre>An example sentence.{{cite|date=March 1883}}</pre>
|<pre>An example sentence.{{cite|date=March 1883}}</pre>
| style="background-color: white;" |An example sentence.{{cite|date=March 1883}}
|An example sentence.{{cite|date=March 1883}}
|}
|}



Revision as of 21:08, 22 April 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

Note: When used on article pages, this template will render as follows ( [citation needed] ) It does not render correctly on this page due to recursive linking logic.
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.
You Type You Get
An example sentence.{{cite|date=March 1883}}
An example sentence.[citation needed]

Articles using Template