<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://syncellwiki.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASfnRef%2Fdoc</id>
	<title>Template:SfnRef/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://syncellwiki.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ASfnRef%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://syncellwiki.org/wiki/index.php?title=Template:SfnRef/doc&amp;action=history"/>
	<updated>2026-04-04T14:29:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://syncellwiki.org/wiki/index.php?title=Template:SfnRef/doc&amp;diff=416&amp;oldid=prev</id>
		<title>imported&gt;Rjjiii: following Wikipedia:Templates_for_discussion/Log/2025_June_13#Template:Vcite_journal, those templates are being deleted</title>
		<link rel="alternate" type="text/html" href="https://syncellwiki.org/wiki/index.php?title=Template:SfnRef/doc&amp;diff=416&amp;oldid=prev"/>
		<updated>2025-06-21T17:16:06Z</updated>

		<summary type="html">&lt;p&gt;following &lt;a href=&quot;https://en.wikipedia.org/wiki/Templates_for_discussion/Log/2025_June_13#Template:Vcite_journal&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Templates for discussion/Log/2025 June 13&quot;&gt;Wikipedia:Templates_for_discussion/Log/2025_June_13#Template:Vcite_journal&lt;/a&gt;, those templates are being deleted&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Template shortcut|sfnref|harvid}}&lt;br /&gt;
{{Lua|Module:Footnotes}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template creates an identifier that is used as a [[Template:Citation/doc#Anchors for Harvard referencing templates|link anchor for short citations]]. Many articles are cited with [[WP:SFN|shortened footnotes]], which usually [[Help:Shortened footnotes#Linking|link to full citations]] at the bottom of the page. {{tl|SfnRef}} accepts the same parameters as most short citation templates&amp;lt;ref&amp;gt;Such as {{tlx|Sfnp}}, {{tlx|Sfn}}, {{tlx|Harvp}}, and {{tlx|Harvnb}}.&amp;lt;/ref&amp;gt; and create matching anchors when used in the {{para|ref}} parameter of the full citation. Most {{cite xxx}} templates will automatically generate the anchor, or landing point, for links. The anchor can be created manually in situations where the automatic anchors would cause issues including:&lt;br /&gt;
&lt;br /&gt;
* Multiple authors with the same last name&lt;br /&gt;
* No known last name for the author&lt;br /&gt;
* Unusual characters in the author field&lt;br /&gt;
* Multiple works in the same year by the same author&lt;br /&gt;
* Year of publication unknown&lt;br /&gt;
&lt;br /&gt;
Additionally some less commonly used citation templates, and all full citations written by hand can only be linked to with a manually created anchor.&amp;lt;ref&amp;gt;This is includes {{tl|Cite patent}}, {{tl|Cite comic}}, and {{tl|Cite court}}. Hand-written citations can be assigned an anchor with the {{tl|wikicite}} template.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
When citing an article published in the December 2004 edition of &amp;#039;&amp;#039;Rolling Stone&amp;#039;&amp;#039; where the author is unknown, you might create a short footnote as follows:&lt;br /&gt;
&lt;br /&gt;
{{block indent|1=&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Sfn|Rolling Stone|2004}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; }}&lt;br /&gt;
&lt;br /&gt;
You may code the value for the {{para|ref}} parameter manually, or you can use {{tlc|SfnRef}} and specify the same parameters as used with {{tlc|Sfn}}:&lt;br /&gt;
&lt;br /&gt;
{{block indent|1=&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|Rolling Stone|2004}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; }}&lt;br /&gt;
&lt;br /&gt;
The full footnote:&lt;br /&gt;
&lt;br /&gt;
{{block indent|1=&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Cite news |work=[[Rolling Stone]] |title=The RS 500 Greatest Songs of All Time |ref={{SfnRef|Rolling Stone|2004}} |date=December 2004}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You can copy and paste the {{tlc|Sfn}} template code and change the name of the template from &amp;quot;Sfn&amp;quot; to &amp;quot;SfnRef&amp;quot;. If your short footnote includes page numbers such as {{tlc|Sfn|Rolling&amp;amp;nbsp;Stone|2004|p{{=}}48}}, you can copy and paste it to create {{tlc|SfnRef|Rolling&amp;amp;nbsp;Stone|2004|p{{=}}48}}; the {{para|p|48}} parameter is not necessary but will do no harm.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
{{block indent|1=&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;SfnRef{{!}}{{var|Name}}{{!}}&amp;#039;&amp;#039;Year&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;SfnRef{{!}}{{var|Name 1}}{{!}}{{var|Name 2}}{{!}}{{var|Name 3}}{{!}}{{var|Name 4}}{{!}}&amp;#039;&amp;#039;Year&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The template accepts up to four names and a year of publication. If there are more than four authors, list only the first four. The last parameter is the year of publication, optionally with a letter suffixed if there are multiple citations by the same set of authors in the same year. All named parameters, such as {{para|p}} are ignored.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Reference&lt;br /&gt;
!Sfnref anchor markup&lt;br /&gt;
!Full citation&lt;br /&gt;
!Short citation &lt;br /&gt;
|-&lt;br /&gt;
!Author and date are present&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|Smith|2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;This anchor would be created automatically in [[Help:Citation Style 1|CS1]] citation templates using {{para|last|Smith}} and {{para|date|2024}} in the full citation. {{Para|author}} works the same as {{para|last}}. If neither &amp;quot;last&amp;quot; nor &amp;quot;author&amp;quot; are used, {{para|editor}} or {{para|editor-last}} will be used to create the anchor. If none of these parameters are used, the anchor must be created manually.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|{{Citation |last=Smith |title=Title |date=2024 |publisher=Publisher |mode=cs1}}&lt;br /&gt;
|{{harvnb|Smith|2024}}&lt;br /&gt;
|-&lt;br /&gt;
!Many authors and date are present&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef |Doe |Pérez |Kowalski |Al-Fulani |2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;This anchor would be created automatically in [[Help:Citation Style 1|CS1]] citation templates using {{para|last1|Doe}}, {{para|last2|Pérez}}, and so on, along with {{para|Date|2024}} in the full citation.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|{{Citation |last1=Doe |first1=John |last2=Pérez |first2=Juan |last3=Kowalski |first3=Jan |last4=Al-Fulani |first4=Fulan |last5=Horvat |first5=Ivan |author6=Hudjefa |title=Title |date=2024 |publisher=Publisher |mode=cs1}}&lt;br /&gt;
|{{harvnb|Doe|Pérez|Kowalski|Al-Fulani|2024|2024}}&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2 |Author is publisher&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|Museum of Modern Art|2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{Citation |title=Title |date=2024 |publisher=Museum of Modern Art |ref={{sfnref|Museum of Modern Art|2024}} |mode=cs1}}&lt;br /&gt;
|{{harvnb|Museum of Modern Art|2024}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|MoMA|2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|MoMA (2024). {{Citation |title=Title |date=2024 |publisher=Museum of Modern Art |ref={{sfnref|MoMA|2024}} |mode=cs1}}&lt;br /&gt;
|{{harvnb|MoMA|2024}}&lt;br /&gt;
|-&lt;br /&gt;
!Author is anonymous&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|Anonymous|2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt; This anchor would be created automatically in [[Help:Citation Style 1|CS1]] citation templates using {{para|Author|Anonymous}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|{{Citation |last=Anonymous |title=Title |date=2024 |publisher=Publisher |mode=cs1}}&lt;br /&gt;
|{{harvnb|Anonymous|2024}}&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2 |Author is missing&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|&amp;#039;&amp;#039;Title&amp;#039;&amp;#039;|2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{Citation |title=Title |date=2024 |publisher=Publisher |ref={{sfnref|&amp;#039;&amp;#039;Title&amp;#039;&amp;#039;|2024}} |mode=cs1}}&lt;br /&gt;
|{{harvnb|&amp;#039;&amp;#039;Title&amp;#039;&amp;#039;|2024}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|&amp;quot;Title&amp;quot;|2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{Citation |title=Title |date=2024 |work=Work |publisher=Publisher |ref={{sfnref|&amp;quot;Title&amp;quot;|2024}} |mode=cs1}}&lt;br /&gt;
|{{harvnb|&amp;quot;Title&amp;quot;|2024}}&lt;br /&gt;
|-&lt;br /&gt;
!Authors with the same name&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|F. Beauregard|2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|P. Beauregard |2024}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*{{Citation |last=Beauregard |first=Fred |title=Title |date=2024 |publisher=Publisher |ref={{sfnref|F. Beauregard|2024}} |mode=cs1}}&lt;br /&gt;
* {{Citation |last=Beauregard |first=Paul |title=Title |date=2024 |publisher=Publisher |ref={{sfnref|P. Beauregard|2024}} |mode=cs1}}&lt;br /&gt;
|&lt;br /&gt;
* {{harvnb|F. Beauregard|2024}}&lt;br /&gt;
* {{harvnb|P. Beauregard |2024}}&lt;br /&gt;
|-&lt;br /&gt;
!rowspan=2 |Date is missing&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|Smith|n.d.}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;This anchor would be created automatically in [[Help:Citation Style 1|CS1]] citation templates using {{para|date|n.d.}} in the full citation.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|{{Citation |last=Smith |title=Title |date=n.d. |publisher=Publisher |mode=cs1}}&lt;br /&gt;
|{{harvnb|Smith|n.d.}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|Smith}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;This anchor would be created automatically in [[Help:Citation Style 1|CS1]] citation templates leaving {{para|date|&amp;lt;!--none--&amp;gt;}} blank in the full citation.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|{{Citation |last=Smith |title=Title |publisher=Publisher |mode=cs1}}&lt;br /&gt;
|{{harvnb|Smith}}&lt;br /&gt;
|-&lt;br /&gt;
!Date and author are missing&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{SfnRef|[Description]|n.d.}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;This anchor would be created automatically in [[Help:Citation Style 1|CS1]] citation templates using {{para|date|n.d.}} and {{para|title|[Description]}} in the full citation.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|{{Citation |title=[Description] |date=n.d. |publisher=Publisher |ref={{sfnref|[Description]|n.d.}} |mode=cs1}}&lt;br /&gt;
|{{harvnb|[Description]|n.d.}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
&lt;br /&gt;
This template creates the proper value for the {{para|ref}} parameter of [[Help:Citation Style 1|Citation Style 1]] templates ({{tlx|Cite journal}}, {{tlx|Cite book}}, {{tlx|Cite web}}, etc.) and the generic [[Help:Citation Style 2|Citation Style 2]] template {{tlx|Citation}}.&amp;lt;ref&amp;gt;As well as {{tlx|cite comic}} for comics; {{tlx|cite court}} for U.S. court cases; and {{tlx|wikicite}} which wraps around handwritten citations.&amp;lt;/ref&amp;gt; It is intended to be paired with {{tlx|Sfnp}}, {{tlx|Sfn}}, {{tlx|Harvp}}, {{tlx|Harvnb}}, and related templates, and uses the same arguments. As explained above, {{tnull|SfnRef}} is only necessary in a subset of the cases where those are used.&lt;br /&gt;
&lt;br /&gt;
{{tlc|Sfnp}} and its variants create a short footnote that is linked to a full footnote. The templates create the link automatically, but the full footnote must be assigned the proper ID value to be a valid target for that link. This usually happens automatically using the full-citation template&amp;#039;s author/editor and date/year parameters, but some cases need a custom anchor, and that is what {{tnull|SfnRef}} is for.&lt;br /&gt;
&lt;br /&gt;
When using the Citation Style 1 and 2 family of citation templates, a default ID is generated from the last names of the first four authors (or editors if there are no authors specified). However, if none of {{para|last}}, {{para|author}}, {{para|editor-last}}, or their equivalents are present, use {{tlc|SfnRef}} inside the CS1/CS2 template&amp;#039;s {{para|ref}} parameter to create a link anchor (perhaps using the publisher name or work title or an abbreviation thereof) without having to know the rules for how {{tlc|Sfnp}}, etc., interpret the anchor ID string which is normally auto-generated.&lt;br /&gt;
&lt;br /&gt;
{{Strong|Consistent output:}} For use with CS1/CS2 templates, {{tlx|Sfnp}} and its {{tlx|Harvp}} companion produce the most [[WP:CITESTYLE|consistent citation formatting]].  For other citation styles that do not put dates in parentheses or brackets, matching short-footnote templates include {{tlx|Sfn}} and {{tlx|Harvnb}}.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tlx|sfnref inline}} – a {{tag|span|o}}-based version for use with manually formatted, non-templated citations&lt;br /&gt;
* {{tlx|citeref}} – a wrapper for {{tnull|SfnRef}} to create wikilinks with either superscript &amp;lt;sup&amp;gt;[n]&amp;lt;/sup&amp;gt; or plain-text labels to other citations from inside a citation&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia referencing}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Author–date citation templates]]&lt;br /&gt;
[[Category:Footnote templates]]&lt;br /&gt;
&lt;br /&gt;
[[bn:টেমপ্লেট:SfnRef]]&lt;br /&gt;
[[ja:Template:SfnRef]]&lt;br /&gt;
[[sl:Template:SfnRef]]&lt;br /&gt;
[[simple:Template:SfnRef]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Rjjiii</name></author>
	</entry>
</feed>