Template:Citation/doc: Difference between revisions
imported>COGDEN (Add extreme example) |
imported>COGDEN (Add mention of doi feature) |
||
Line 27: | Line 27: | ||
| id = |
| id = |
||
| isbn = |
| isbn = |
||
| doi = |
|||
| url = |
| url = |
||
}}</pre> |
}}</pre> |
||
Line 45: | Line 46: | ||
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' |
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' |
||
* '''isbn''': Use this parameter if the book has an ISBN. |
* '''isbn''': Use this parameter if the book has an ISBN. |
||
* '''doi''': A [[digital object identifier]] such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''. |
|||
* '''url''': An [[url]] of an online location where the book can be found. |
* '''url''': An [[url]] of an online location where the book can be found. |
||
* '''accessdate''': Date when the url was accessed. |
* '''accessdate''': Date when the url was accessed. |
||
Line 126: | Line 128: | ||
| pages= |
| pages= |
||
| url= |
| url= |
||
| doi= |
|||
}}. |
}}. |
||
</pre> |
</pre> |
||
Line 143: | Line 146: | ||
* '''pages''' (''optional''): The pages in the issue where the article may be found. |
* '''pages''' (''optional''): The pages in the issue where the article may be found. |
||
* '''url''': An [[url]] of an online location where the article can be found. |
* '''url''': An [[url]] of an online location where the article can be found. |
||
* '''doi''': A [[digital object identifier]] such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''. |
|||
* '''accessdate''': Date when the url was accessed. |
* '''accessdate''': Date when the url was accessed. |
||
|} |
|} |
||
Line 243: | Line 247: | ||
| pages= |
| pages= |
||
| id= |
| id= |
||
| doi= |
|||
| url= |
| url= |
||
}}. |
}}. |
||
Line 272: | Line 277: | ||
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' |
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' |
||
* '''isbn''': Use this parameter if the book or compilation has an ISBN. |
* '''isbn''': Use this parameter if the book or compilation has an ISBN. |
||
* '''doi''': A [[digital object identifier]] such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''. |
|||
* '''url''': An [[url]] of an online location where the book or compilationcan be found. |
* '''url''': An [[url]] of an online location where the book or compilationcan be found. |
||
* '''accessdate''': Date when the url was accessed. |
* '''accessdate''': Date when the url was accessed. |
||
Line 436: | Line 442: | ||
| publisher= |
| publisher= |
||
| id= |
| id= |
||
| doi= |
|||
| url= |
| url= |
||
}}. |
}}. |
||
Line 465: | Line 472: | ||
* '''publication-place'''. The place where the collective work was published (if different from ''place'' or ''location''). |
* '''publication-place'''. The place where the collective work was published (if different from ''place'' or ''location''). |
||
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' |
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' |
||
* '''doi''': A [[digital object identifier]] such as ''<nowiki>10.1016/j.coi.2004.08.001</nowiki>''. |
|||
* '''url''': An [[url]] of an online location where the book or compilationcan be found. |
* '''url''': An [[url]] of an online location where the book or compilationcan be found. |
||
* '''accessdate''': Date when the url was accessed. |
* '''accessdate''': Date when the url was accessed. |
Revision as of 00:43, 21 June 2007
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 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 mandatory, where possible.
Citing books
Parameters (all are optional)
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | year = | date = | title = | place = | publisher = | edition = | volume = | id = | isbn = | doi = | url = }} |
|
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 }}. |
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= | year= | title= | periodical= | volume= | issue= | pages= | url= | doi= }}. |
|
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 | 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= | place= | publication-place= | publisher= | volume= | pages= | id= | doi= | 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= | volume= | issue= | pages= | place= | publication-place= | publisher= | id= | doi= | 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).. |
Tools
See Wikipedia:Citing sources for a list of tools which can help create a reference in the 'citation' format.