模板:SfnRef/doc
此頁面是Template:SfnRef的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
此模板的文檔不存在、不全面或不能詳細描述其功能及/或其代碼中的參數。請幫助擴充並改進其文檔。 |
Generate an identifier suitable as an anchor for a Harvard citation. This template, which can be used with either the name {{SfnRef}}
or the name {{harvid}}
, is intended to be paired with Harvard citation templates such as {{Sfn}}, {{harv}}, and {{harvnb}}. This template 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.
使用方法
編輯{{SfnRef|Last name of author(s)|Year}}
or
{{harvid|Last name of author(s)|Year}}
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.
All named parameters such as |p=
are ignored.
短腳註模板
編輯目的
編輯舉例
編輯- {{cite book | title= 《書名》 | author= 作者 | date= 出版日期(年月日) | ISBN= 書號 | ref= {{sfnref|作者|出版年}}}}
- {{sfn|作者|出版年|p= 某一頁 | pp= n頁到n+t頁 }}
- {{harvnb|作者|出版年|p= 某一頁 | pp= n頁到n+t頁 }}
重定向
編輯- {{Harvid}}
相關
編輯- {{cfn}}
- 對應