
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl">
	<id>http://historia.agh.edu.pl/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Szablon%3ASfnRef%2Fdoc</id>
	<title>Szablon:SfnRef/doc - Historia wersji</title>
	<link rel="self" type="application/atom+xml" href="http://historia.agh.edu.pl/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Szablon%3ASfnRef%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://historia.agh.edu.pl/mediawiki/index.php?title=Szablon:SfnRef/doc&amp;action=history"/>
	<updated>2026-04-29T23:29:25Z</updated>
	<subtitle>Historia wersji tej strony wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://historia.agh.edu.pl/mediawiki/index.php?title=Szablon:SfnRef/doc&amp;diff=18201&amp;oldid=prev</id>
		<title>*&gt;Adrignola: cleanup</title>
		<link rel="alternate" type="text/html" href="http://historia.agh.edu.pl/mediawiki/index.php?title=Szablon:SfnRef/doc&amp;diff=18201&amp;oldid=prev"/>
		<updated>2010-04-27T13:52:06Z</updated>

		<summary type="html">&lt;p&gt;cleanup&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nowa strona&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 {{tl|SfnRef}} or the name {{tl|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;
: &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;
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}}. It is intended to be paired with {{tl|Sfn}} and uses the same arguments. As explained below, {{tl|SfnRef}}/{{tl|harvid}} is only necessary in a subset of the cases where {{tl|Sfn}} is used.&lt;br /&gt;
&lt;br /&gt;
{{tl|Sfn}} creates a short footnote that is linked to a full footnote. {{tl|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 {{tl|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 {{tl|SfnRef}} to create the proper value without having to know the rules for how {{tl|Sfn}} creates the ID.&lt;br /&gt;
&lt;br /&gt;
==Examples==&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 {{tl|SfnRef}} and specify the same parameters as used with {{tl|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=[[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 {{tl|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 {{tl|Sfn|Rolling&amp;amp;nbsp;Stone|2004|p{{=}}48}}, you can copy and paste it to create {{tl|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;
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;
[[Category:Citation templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>*&gt;Adrignola</name></author>
	</entry>
</feed>