模板:Citation
| 此Template被引用於約33,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
}}
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value) |
引用書籍
參數(皆為可選)
{{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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
| 三位作者、一冊書和一位校對者 | {{ 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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
引用自期刊、報紙、雜誌或其他刊物
參數
{{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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
| 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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
引用編輯書或部分編輯書,包括百科全書或百科全書條目
參數
{{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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
| 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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
| 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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
| 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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
| 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
}}.
|
模块:Citation/CS1/Configuration第2172行Lua错误:attempt to index field '?' (a nil value). |
Dates
模板数据
模板数据
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
以下是该模板的-{zh-cn:模板数据;zh-tw:模板資料}-,适用于-{zh-cn:可视化编辑器;zh-tw:視覺化編輯器;}-等工具。
Citation-{zh-cn:模板数据;zh-tw:模板資料}- 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”格式制造参考文献的工具的列表。
引用错误:名称为“n”的group(分组)存在<ref>标签,但未找到对应的<references group="n"/>标签