<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fa">
	<id>http://mobinwiki.ir/w/index.php?action=history&amp;feed=atom&amp;title=%D8%A7%D9%84%DA%AF%D9%88%3ASfnRef%2F%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA</id>
	<title>الگو:SfnRef/توضیحات - تاریخچهٔ نسخه‌ها</title>
	<link rel="self" type="application/atom+xml" href="http://mobinwiki.ir/w/index.php?action=history&amp;feed=atom&amp;title=%D8%A7%D9%84%DA%AF%D9%88%3ASfnRef%2F%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA"/>
	<link rel="alternate" type="text/html" href="http://mobinwiki.ir/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:SfnRef/%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA&amp;action=history"/>
	<updated>2026-12-06T17:40:16Z</updated>
	<subtitle>تاریخچهٔ نسخه‌ها برای این صفحه در ویکی</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>http://mobinwiki.ir/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:SfnRef/%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA&amp;diff=46688&amp;oldid=prev</id>
		<title>imported&gt;Modern Sciences در ‏۲۷ تیر ۱۳۹۵، ساعت ۰۴:۴۶</title>
		<link rel="alternate" type="text/html" href="http://mobinwiki.ir/w/index.php?title=%D8%A7%D9%84%DA%AF%D9%88:SfnRef/%D8%AA%D9%88%D8%B6%DB%8C%D8%AD%D8%A7%D8%AA&amp;diff=46688&amp;oldid=prev"/>
		<updated>2016-07-17T04:46:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحهٔ تازه&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Generate an identifier suitable as an [[Template:Citation/doc #Anchors for Harvard referencing templates|anchor for a Harvard citation]]. This template, which can be used with either the name {{tlc|SfnRef}} or the name {{tlc|harvid}}, is intended to be paired with Harvard citation templates such as {{tl|Sfn}}, {{tl|harv}}, and {{tl|harvnb}}. This templates uses the same arguments as the other citation templates. As explained below, this template is needed only in some cases when the Harvard citation templates are used.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;SfnRef|''Last name of author(s)''|''Year''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;harvid|''Last name of author(s)''|''Year''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first parameter is the first author's last name. Up to four authors can be given as parameters; if there are more than four authors, list only the first four. The last parameter is the year of publication, possibly with a letter suffixed to avoid ambiguity if there are multiple citations by the same set of authors in the same year.&lt;br /&gt;
&lt;br /&gt;
All named parameters such as {{para|p}} are ignored.&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
&lt;br /&gt;
This template creates the proper value for the {{para|ref}} parameter for use with {{tl|cite journal}}, {{tl|cite book}}, {{tl|citation}}, and the other templates implemented via {{tl|citation/core}}, and for use by {{tl|vcite journal}}, {{tl|vcite book}} and other templates that generate [[Vancouver system]] references. It is intended to be paired with {{tl|Sfn}} and uses the same arguments. As explained below, {{tlc|SfnRef}}/{{tlc|harvid}} is only necessary in a subset of the cases where {{tlc|Sfn}} is used.&lt;br /&gt;
&lt;br /&gt;
{{tlc|Sfn}} creates a short footnote that is linked to a full footnote. {{tlc|Sfn}} creates the link automatically, but the full footnote must be assigned the proper ID value to be a valid target for that link.&lt;br /&gt;
&lt;br /&gt;
When using the {{tlc|citation/core}} family of citation templates, the ID is created via the {{para|ref}} parameter. In most cases, the parameter should be coded as {{para|ref|harv}}: this generates the ID from the last names of the first four authors. This parameter setting is not needed for {{tl|citation}}, which defaults to {{para|ref|harv}}. However, if {{para|last1}} etc. are not used, such as when the author of the source is unknown and the short footnote specifies an organization name, {{para|ref|harv}} will ''not'' create the proper ID value. In those cases, use {{tlc|SfnRef}} to create the proper value without having to know the rules for how {{tlc|Sfn}} creates the ID.&lt;br /&gt;
&lt;br /&gt;
The {{tl|vcite journal}} etc. templates (with &amp;quot;&amp;lt;code&amp;gt;vcite&amp;lt;/code&amp;gt;&amp;quot;, not &amp;quot;&amp;lt;code&amp;gt;cite&amp;lt;/code&amp;gt;&amp;quot;) do not support {{para|ref|harv}} and require the use of {{tlc|SfnRef}}/{{tlc|harvid}} to work with Harvard citations.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
; With the shortened footnote template&lt;br /&gt;
&lt;br /&gt;
When citing an article published in the December 2004 edition of ''Rolling Stone'' where the author is unknown, you might create a short footnote as follows:&lt;br /&gt;
&lt;br /&gt;
: &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;
{{para|ref|harv}} will not work in this case because &amp;quot;Rolling Stone&amp;quot; is not the name of the author. 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;
: &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;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{cite news |work=[[رولینگ استون]] |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;
; With other Harvard templates&lt;br /&gt;
&lt;br /&gt;
For example, a ''References'' section might contain the following markup:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:vcite journal|vcite journal]]&amp;lt;nowiki&amp;gt; |author=Peh WC, Ng KH |title=Preparing the references |journal=Singapore Med J |volume=50 |issue=7 |pages=659–61 |year=2009 |pmid=19644619 |url=http://smj.sma.org.sg/5007/5007emw1.pdf |format=PDF |ref={{harvid|Peh|Ng|2009}} }}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This markup uses &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{harvid|Peh|Ng|2009}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to generate the anchor identifier &amp;quot;{{harvid|Peh|Ng|2009}}&amp;quot;, used internally to link Harvard references to citations. (This identifier is not visible to the article's reader.) The generated citation looks like this:&lt;br /&gt;
: {{vcite journal |author=Peh WC, Ng KH |title=Preparing the references |journal=Singapore Med J |volume=50 |issue=7 |pages=659–61 |year=2009 |pmid=19644619 |url=http://smj.sma.org.sg/5007/5007emw1.pdf |format=PDF |ref={{harvid|Peh|Ng|2009}} }}&lt;br /&gt;
Article prose can link to this citation with markup like the following:&lt;br /&gt;
: {{tlx|harv|Peh|Ng|2009}}&lt;br /&gt;
which generates the following:&lt;br /&gt;
: {{harv|Peh|Ng|2009}}&lt;br /&gt;
To see how it works, click on the &amp;quot;{{harv|Peh|Ng|2009}}&amp;quot;.&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[رده:الگو:یادکرد مولف-تاریخ]]&lt;br /&gt;
[[رده:الگو:پاورقی]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Modern Sciences</name></author>
	</entry>
</feed>