Difference between revisions of "Template:Citation needed"

From PCGamingWiki, the wiki about fixing PC games
(citation template)
 
(added category namespace check)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span title="{{{reason|}}}"><sup style="white-space:nowrap;">&#91;''citation needed''&#93;</sup></span>[[Category:Pages needing references]]</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly><span title="{{{reason|{{{1|This claim needs a reference}}}}}}{{#if:{{{date|}}}|&nbsp;({{{date|}}})}}"><sup style="white-space:nowrap;">&#91;''citation needed''&#93;</sup></span>{{#ifeq: {{NAMESPACE}} | |[[Category:Pages needing references]]}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 10:44, 16 August 2018

Documentation for the above template (sometimes hidden from view).
Description

Add {{citation needed}} or {{cn}} after a specific statement or alleged fact that is not sourced properly.

Usage

{{cn}} results in [citation needed]

{{cn|reason=This needs to be sourced properly|date=August 2015}} results in [citation needed]

Arguments (optional)
  • reason= - specific reason for the tooltip
  • date= - Date the template was added, e.g. August 2015 or February 11, 2020
Related