模板:Citation
![]() | 此模板被引用於約33,000個頁面。 為了避免造成大規模的影響,所有對此模板的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此模板中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
![]() | 此模板使用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」格式製造參考文獻的工具的列表。