Template:Citation
![]() | 此Template被引用於約32,000個頁面。 為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
![]() | 此模板使用Lua语言: |
Citation模板是一个多功能模板,可用于引用书籍、期刊、收集工作、专利或网站。此模板的设立目的,是要成为一个可供所有引用用途的模板,其格式为哈佛参考文献格式。与其他引用模板一样,这个模板既可以用于脚注(用于<ref>...</ref>
tag中),又可以用于列出来源的章节中。这个模板使用了与引文格式1模板相同的Lua语言,并且带有将显示的格式变更为引文格式2的参数。
在使用正确参数的情况下,这个模板将会产生与{{Cite book}}和{{Cite web}}等其他引用模板相同的输出,但它和这些模板相比存在一个重大例外:默认情况下,这个引用模板会在引用模板默认使用句点的地方自动使用逗号;任何类型的模板都可以通过使用可选参数选择使用句点或逗号。
无论是使用了哪种引用模板,抑或是没有使用任何引用模板,在被保存并呈现的文本中,一篇文章的所有引用都应该有相同的格式。
注意:
- 所有参数名称都必须为小写字母。
- 不可见Unicode空格字符(参见列表)将返回错误信息。请删除无意添加的不可见字符,并将有意添加的不可见字符替换为对应HTML实体(如
​
)。
简单引用
本章节会介绍这个模板最常用的参数。你可以复制下方的水平表格或垂直表格并从完整列表中添加额外参数。模板中参数的间距和顺序不会影响最终呈现的文本。
{{Citation |last= |first= |year= |title= |publisher= |publication-place= |page= |url= |access-date=}}
{{Citation | last = | first = | year = | title = | publisher = | publication-place = | page = | url = | access-date = }} |
- last:作者的姓。不要与author同时使用。
- first:作者的名。
- year:出版年份。除非
|date=
同时指定了年份和月份,否则必须与Template:Harvard citation中的链接同时使用。 - title:出版物名称。若为网络参考资料则会强制使用。
- publisher:出版社名称。英文字眼如Publishers, Co., Inc., Ltd.等应省略,但保留Books或Press。通常不应填写有维基百科自身文章的期刊,例如《告示牌_和《新闻周刊》。
- page:用于引用文章的某一页。请在页数前添加“p.”。不要和pages同时使用。
- url:项目可被访问的线上位置的URL。若此url包含双引号,请将之编码为“%22”。
- access-date:URL被访问的日期[n 1]。
例子
{{Citation | last = Turner | first = Orsamus | title = History of the pioneer settlement of Phelps and Gorham's purchase, and Morris' reserve | publisher = William Alling | place = Rochester, New York | year = 1851 | ol = 7120924W }} |
Turner, Orsamus, History of the pioneer settlement of Phelps and Gorham's purchase, and Morris' reserve, Rochester, New York: William Alling, 1851, OL 7120924W |
引用書籍
參數(皆為可選)
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | date = | year = | title = | edition = | volume = | place = | publisher = | id = | isbn = | doi = | oclc = | url = | accessdate = }} |
|
例子
僅一位作者 | {{ Citation | last=Turner | first=O. | title=History of the Pioneer Settlement of Phelps and Gorham's Purchase, and Morris' Reserve | publisher=William Alling | place=Rochester, New York | year=1851 | url = http://olivercowdery.com/ texts/1851Trn1.htm#turn1851 }}. |
Turner, O., History of the Pioneer Settlement of Phelps and Gorham's Purchase, and Morris' Reserve, Rochester, New York: William Alling, 1851. |
三位作者、一冊書和一位校對者 | {{ Citation | last1=Lincoln | first1=A. | last2=Washington | first2=G. | last3=Adams | first3=J. | title=All the Presidents' Names | publisher=The Pentagon | place=Home Base, New York | volume=XII | edition=2nd | year=2007 }}. |
Lincoln, A.; Washington, G.; Adams, J., All the Presidents' Names XII 2nd, Home Base, New York: The Pentagon, 2007. |
引用自期刊、報紙、雜誌或其他刊物
參數
{{Citation | last= | first= | author-link= | year= | title= | periodical= | volume= | issue= | pages= | url= | doi= | oclc= }}. |
|
例子
Journal article | {{Citation | last=Hill | first=Marvin S. | title=Joseph Smith and the 1826 Trial: New Evidence and New Difficulties | journal=BYU Studies | volume=12 | issue=2 | year=1976 | pages=1–8 | url=https://byustudies.byu.edu/ shop/PDFSRC/12.2Hill.pdf }}. |
Hill, Marvin S., Joseph Smith and the 1826 Trial: New Evidence and New Difficulties (PDF), BYU Studies, 1976, 12 (2): 1–8. |
Newspaper article | {{Citation | last=Smith | first=Joseph III | author-link=Joseph Smith III | title=Last Testimony of Sister Emma | newspaper=The Saints' Herald | volume=26 | issue=19 | date=[[October 1]], [[1879]] | year=1879 | month=October | page=289 | url=http://www.sidneyrigdon.com/ dbroadhu/IL/sain1872.htm#100179 }}. |
Smith, Joseph III, Last Testimony of Sister Emma, The Saints' Herald 26 (19), October 1, 1879: 289. |
引用編輯書或部分編輯書,包括百科全書或百科全書條目
參數
{{Citation | last= | first= | author-link= | last2= | first2= | author2-link | year= | date= | publication-date= | contribution= | contribution-url= | editor-last= | editor-first= | editor-link= | editor2-last= | editor2-first= | editor2-link= | title= | edition= | place= | publication-place= | publisher= | volume= | pages= | id= | doi= | oclc= | url= }}. |
|
例子
Manuscript published in an edited compilation | {{Citation | last=Bidamon | first=Emma Smith | author-link=Emma Hale Smith | chapter=Letter to Emma S. Pilgrim | date=1876-03-27 | editor-surname=Vogel | editor-first=Dan | title=Early Mormon Documents | volume=1 | publisher=Signature Books | publication-date=1996 | isbn=1-56085-072-8 }}. |
Bidamon, Emma Smith, Letter to Emma S. Pilgrim, Vogel, Dan (编), Early Mormon Documents 1, Signature Books, 1876-03-27 (1996), ISBN 1-56085-072-8 . |
Work with an editor but no author | {{Citation | editor-surname=Vogel | editor-first=Dan | title=Early Mormon Documents | volume=1 | publisher=Signature Books | publication-date=1996 | isbn=1-56085-072-8 }}. |
Vogel, Dan (编), Early Mormon Documents 1, Signature Books, 1996, ISBN 1-56085-072-8. |
Encyclopedia article by a named author | {{Citation | last = Kramer | first = Martin | author-link = Martin Kramer | contribution = Bernard Lewis | editor-last = Boyd | editor-first = Kelley | title = Encyclopedia of Historians and Historical Writing | volume = 1 | pages = 719–720 | publisher = Fitzroy Dearborn | place = London | publication-date = 1999 | contribution-url = http:// www.geocities.com/martinkramerorg/ BernardLewis.htm }}. |
Kramer, Martin, Bernard Lewis, Boyd, Kelley (编), Encyclopedia of Historians and Historical Writing 1, London: Fitzroy Dearborn: 719–720, 1999. |
Encyclopedia article with no named author | {{Citation | contribution = Bernard Lewis | editor-last = Boyd | editor-first = Kelley | title = Encyclopedia of Historians and Historical Writing | volume = 1 | pages = 719–720 | publisher = Fitzroy Dearborn | place = London | year = 1999 | contribution-url = http:// www.geocities.com/martinkramerorg/ BernardLewis.htm }}. |
Boyd, Kelley (编), Bernard Lewis, Encyclopedia of Historians and Historical Writing 1, London: Fitzroy Dearborn: 719–720, 1999. |
Citing contributions, republications, or edited quotations in a periodical article
Parameters
{{Citation | last= | first= | author-link= | last2= | first2= | author2-link | year= | date= | publication-date= | contribution= | contribution-url= | editor-last= | editor-first= | editor-link= | editor2-last= | editor2-first= | editor2-link= | title= | periodical= | volume= | issue= | pages= | place= | publication-place= | publisher= | id= | doi= | oclc= | url= }}. |
|
Examples
Manuscript edited and published in a journal | {{Citation | last=Knight | first=Joseph, Sr. | year=1833 | editor-last=Jessee | editor-first=Dean | title=Joseph Knight's Recollection of Early Mormon History | journal=BYU Studies | volume=17 | issue=1 | publication-date=1976 | pages=35 | url=https://byustudies.byu.edu/ shop/PDFSRC/17.1Jessee.pdf }}. |
Knight, Joseph, Sr., Jessee, Dean , 编, Joseph Knight's Recollection of Early Mormon History (PDF), BYU Studies, 1833, 17 (1): 351976. |
Manuscript written at one date and place, then published in a periodical at a different date and place with commentary by the editor. | {{Citation | last=Klingensmith | first=Philip | date=1872-09-05 | place=Lincoln County, Nevada | title=Mountain Meadows Massacre | editor-last=Toohy | editor-first=Dennis J. | journal=Corinne Daily Reporter | publication-date=1872-09-24 | publication-place=Corinne, Utah | volume=5 | issue=252 | pages=1 }}. |
Klingensmith, Philip, 写于Lincoln County, Nevada, Toohy, Dennis J. , 编, Mountain Meadows Massacre, Corinne Daily Reporter (Corinne, Utah), 1872-09-05, 5 (252): 1 (1872-09-24) . |
Dates
- ^ The format of dates in the references of an article should use consistent and unambiguous styles. Example formats used in Wikipedia citations include:
- 2009
- 2009-09-14 (ISO 8601 standard format: YYYY-MM-DD)
- 14 September 2009
- September 14, 2009 (with comma)
- September 2009
模板数据
模板数据
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The Citation template generates a citation for a book, periodical, contribution in a collective work, patent, or a web page. It determines the citation type by examining which parameters are used.
|
工具
你可以在Wikipedia:列明来源#工具看到帮助你以“citation”格式制造参考文献的工具的列表。