Template:Citation/doc: Difference between revisions
imported>TAKASUGI Shinji m (+ja) |
imported>Black Falcon m (rmv periods - they are not a standard part of the citation; moreover, in most cases punctuation should precede the actual citation) |
||
Line 36: | Line 36: | ||
| url = |
| url = |
||
| accessdate = |
| accessdate = |
||
}} |
}}</pre> |
||
| |
| |
||
* '''last''' (or '''last1'''): The author's surname or last name. |
* '''last''' (or '''last1'''): The author's surname or last name. |
||
Line 80: | Line 80: | ||
| url = http://olivercowdery.com/texts/1851Trn1.htm#turn1851 |
| url = http://olivercowdery.com/texts/1851Trn1.htm#turn1851 |
||
| accessdate = 2008-01-28 |
| accessdate = 2008-01-28 |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{ Citation |
|{{ Citation |
||
Line 91: | Line 91: | ||
| url = http://olivercowdery.com/texts/1851Trn1.htm#turn1851 |
| url = http://olivercowdery.com/texts/1851Trn1.htm#turn1851 |
||
| accessdate = 2008-01-28 |
| accessdate = 2008-01-28 |
||
}} |
}} |
||
|- |
|- |
||
|Three authors, a volume, and an edition |
|Three authors, a volume, and an edition |
||
Line 108: | Line 108: | ||
| edition=2nd |
| edition=2nd |
||
| year=2007 |
| year=2007 |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{ Citation |
|{{ Citation |
||
Line 123: | Line 123: | ||
| edition=2nd |
| edition=2nd |
||
| year=2007 |
| year=2007 |
||
}} |
}} |
||
|} |
|} |
||
Line 152: | Line 152: | ||
| oclc = |
| oclc = |
||
| accessdate = |
| accessdate = |
||
}} |
}} |
||
</pre> |
</pre> |
||
| |
| |
||
Line 198: | Line 198: | ||
| url=https://byustudies.byu.edu/ |
| url=https://byustudies.byu.edu/ |
||
shop/PDFSRC/12.2Hill.pdf |
shop/PDFSRC/12.2Hill.pdf |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{Citation |
|{{Citation |
||
Line 210: | Line 210: | ||
| pages=1–8 |
| pages=1–8 |
||
| url=https://byustudies.byu.edu/shop/PDFSRC/12.2Hill.pdf |
| url=https://byustudies.byu.edu/shop/PDFSRC/12.2Hill.pdf |
||
}} |
}} |
||
|- |
|- |
||
|Newspaper article |
|Newspaper article |
||
Line 229: | Line 229: | ||
| url=http://www.sidneyrigdon.com/ |
| url=http://www.sidneyrigdon.com/ |
||
dbroadhu/IL/sain1872.htm#100179 |
dbroadhu/IL/sain1872.htm#100179 |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{Citation |
|{{Citation |
||
Line 245: | Line 245: | ||
| page=289 |
| page=289 |
||
| url=http://www.sidneyrigdon.com/dbroadhu/IL/sain1872.htm#100179 |
| url=http://www.sidneyrigdon.com/dbroadhu/IL/sain1872.htm#100179 |
||
}} |
}} |
||
|} |
|} |
||
Line 284: | Line 284: | ||
| oclc = |
| oclc = |
||
| url = |
| url = |
||
}} |
}} |
||
</pre> |
</pre> |
||
| |
| |
||
Line 338: | Line 338: | ||
| publication-date=1996 |
| publication-date=1996 |
||
| isbn=1-56085-072-8 |
| isbn=1-56085-072-8 |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{Citation |
|{{Citation |
||
Line 354: | Line 354: | ||
| publication-date=1996 |
| publication-date=1996 |
||
| isbn=1-56085-072-8 |
| isbn=1-56085-072-8 |
||
}} |
}} |
||
|- |
|- |
||
|Work with an editor but no author |
|Work with an editor but no author |
||
Line 366: | Line 366: | ||
| publication-date=1996 |
| publication-date=1996 |
||
| isbn=1-56085-072-8 |
| isbn=1-56085-072-8 |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{Citation |
|{{Citation |
||
Line 376: | Line 376: | ||
| publication-date=1996 |
| publication-date=1996 |
||
| isbn=1-56085-072-8 |
| isbn=1-56085-072-8 |
||
}} |
}} |
||
|- |
|- |
||
|Encyclopedia article by a named author |
|Encyclopedia article by a named author |
||
Line 397: | Line 397: | ||
www.geocities.com/martinkramerorg/ |
www.geocities.com/martinkramerorg/ |
||
BernardLewis.htm |
BernardLewis.htm |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{Citation |
|{{Citation |
||
Line 413: | Line 413: | ||
| publication-date = 1999 |
| publication-date = 1999 |
||
| contribution-url = http://www.geocities.com/martinkramerorg/BernardLewis.htm |
| contribution-url = http://www.geocities.com/martinkramerorg/BernardLewis.htm |
||
}} |
}} |
||
|- |
|- |
||
|Encyclopedia article with no named author |
|Encyclopedia article with no named author |
||
Line 431: | Line 431: | ||
www.geocities.com/martinkramerorg/ |
www.geocities.com/martinkramerorg/ |
||
BernardLewis.htm |
BernardLewis.htm |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{Citation |
|{{Citation |
||
Line 444: | Line 444: | ||
| year = 1999 |
| year = 1999 |
||
| contribution-url = http://www.geocities.com/martinkramerorg/BernardLewis.htm |
| contribution-url = http://www.geocities.com/martinkramerorg/BernardLewis.htm |
||
}} |
}} |
||
|} |
|} |
||
Line 484: | Line 484: | ||
| oclc = |
| oclc = |
||
| url = |
| url = |
||
}} |
}} |
||
</pre> |
</pre> |
||
| |
| |
||
Line 541: | Line 541: | ||
| url=https://byustudies.byu.edu/ |
| url=https://byustudies.byu.edu/ |
||
shop/PDFSRC/17.1Jessee.pdf |
shop/PDFSRC/17.1Jessee.pdf |
||
}} |
}}</pre> |
||
|{{Citation |
|{{Citation |
||
| last=Knight |
| last=Knight |
||
Line 555: | Line 555: | ||
| pages=35 |
| pages=35 |
||
| url=https://byustudies.byu.edu/shop/PDFSRC/17.1Jessee.pdf |
| url=https://byustudies.byu.edu/shop/PDFSRC/17.1Jessee.pdf |
||
}} |
}} |
||
|- |
|- |
||
|Manuscript written at one date and place, then published in a periodical at a different date and place with commentary by the editor. |
|Manuscript written at one date and place, then published in a periodical at a different date and place with commentary by the editor. |
||
Line 578: | Line 578: | ||
| contribution-url=http:// |
| contribution-url=http:// |
||
udn.lib.utah.edu/u?/corinne,5359 |
udn.lib.utah.edu/u?/corinne,5359 |
||
}} |
}} |
||
</pre> |
</pre> |
||
|{{Citation |
|{{Citation |
||
Line 597: | Line 597: | ||
| pages=1 |
| pages=1 |
||
| contribution-url=http://udn.lib.utah.edu/u?/corinne,5359 |
| contribution-url=http://udn.lib.utah.edu/u?/corinne,5359 |
||
}} |
}} |
||
|} |
|} |
||
==Citing patents== |
==Citing patents== |
||
Line 616: | Line 616: | ||
| description = |
| description = |
||
| patent-number = |
| patent-number = |
||
}} |
}}</pre> |
||
| |
| |
||
* '''inventor-last''' (or '''inventor1-last'''): The inventor's surname or last name. |
* '''inventor-last''' (or '''inventor1-last'''): The inventor's surname or last name. |
||
Line 651: | Line 651: | ||
| issue-date = 2001 |
| issue-date = 2001 |
||
| patent-number = 6266706 |
| patent-number = 6266706 |
||
| country-code = US}} |
| country-code = US}} |
||
</pre> |
</pre> |
||
|{{citation |
|{{citation |
||
Line 661: | Line 661: | ||
| issue-date = 2001 |
| issue-date = 2001 |
||
| patent-number = 6266706 |
| patent-number = 6266706 |
||
| country-code = US}} |
| country-code = US}} |
||
|} |
|} |
||
Revision as of 06:43, 2 March 2008
Template:Template doc page viewed directly Template:Esoteric
The Citation template is a versatile template for citing books, periodicals, contributions in collective works, patents, and web-sites. Its goal is to be an all-purpose citation template. It also has functionality to aid the use of the Harvard referencing style. The template allows author-date ("Harvard") citations in the main body of text to link to a full citation (generated by this template) in a "References" section at the end of the article via the Template:Harvard citation template. This template creates an HTML anchor, linked by #CITEREF followed by up to 4 author/editor last names and the date, to which the Harvard citation and related templates can link.
The template knows whether you are citing a book, periodical, or a chapter in a compilation, depending on which combination of parameters you use. For use with author-date systems such as the Harvard citation template, use of last and date parameters should be considered compulsory, where possible.
Citing books
Parameters (all are optional)
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | publication-date = | date = | year = | title = | edition = | volume = | series = | publication-place = | place = | publisher = | pages = | page = | id = | isbn = | doi = | oclc = | url = | accessdate = }} |
|
Examples
One author | {{ 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 | accessdate = 2008-01-28 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
Three authors, a volume, and an edition | {{ 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 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
Citing journals, newspapers, magazines, or other periodicals
Parameters
{{Citation | last = | first = | author-link = | publication-date = | date = | year = | title = | periodical = | series = | publication-place = | place = | publisher = | volume = | issue = | pages = | url = | issn = | doi = | oclc = | accessdate = }} |
|
Examples
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 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
Newspaper article | {{Citation | last=Smith | first=Joseph III | author-link=Joseph Smith III | title=Last Testimony of Sister Emma | newspaper=The Saints' Herald | publication-place=Plano, IL | volume=26 | issue=19 | date=[[October 1]], [[1879]] | year=1879 | month=October | page=289 | url=http://www.sidneyrigdon.com/ dbroadhu/IL/sain1872.htm#100179 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
Citing edited books, or parts of edited books, including encyclopedias and encyclopedia articles
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 = | edition = | series = | place = | publication-place = | publisher = | volume = | pages = | id = | isbn = | doi = | oclc = | url = }} |
|
Examples
Manuscript published in an edited compilation | {{Citation | last=Bidamon | first=Emma Smith | author-link=Emma Hale Smith | chapter=Letter to Emma S. Pilgrim | date=[[March 27]] [[1876]] | year=1876 | editor-surname=Vogel | editor-first=Dan | title=Early Mormon Documents | volume=1 | publisher=Signature Books | publication-date=1996 | isbn=1-56085-072-8 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
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 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
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 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
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 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
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 = | series = | volume = | issue = | pages = | place = | publication-place = | publisher = | id = | issn = | 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 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
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 | contribution=Affidavit | year=1872 | date=[[September 5]] [[1872]] | place=Lincoln County, Nevada | title=Mountain Meadows Massacre | editor-last=Toohy | editor-first=Dennis J. | journal=Corinne Daily Reporter | publication-date= [[September 24]] [[1872]] | publication-place=Corinne, Utah | volume=5 | issue=252 | pages=1 | contribution-url=http:// udn.lib.utah.edu/u?/corinne,5359 }} |
Lua error: bad argument #1 to "get" (not a valid title). |
Citing patents
Parameters (all are optional)
{{Citation | inventor-last = | inventor-first = | inventorlink = | inventor2-last = | inventor2-first = | inventorlink2 = | publication-date = | issue-date = | title = | country-code = | description = | patent-number = }} |
|
Examples
United States patent with multiple inventors | {{citation | inventor1-last = Degermark | inventor1-first = Mikael | inventor2-last = Brodnik | inventor2-first = Andrej | inventor3-last = Carlsson | inventor3-first = Svante | inventor4-last = Pink | inventor4-first = Stephen | title = Fast routing lookup system using complete prefix tree, bit vector, and pointers in a routing table for determining where to route IP datagrams | issue-date = 2001 | patent-number = 6266706 | country-code = US}} |
Lua error: bad argument #1 to "get" (not a valid title). |
Tools
See Wikipedia:Citing sources for a list of tools which can help create a reference in the 'citation' format.
COinS
This template produces COinS metadata; see COinS in Wikipedia for background information.