Template:Citation/doc: Difference between revisions
imported>COGDEN |
imported>COGDEN |
||
| Line 202: | Line 202: | ||
|} | |} | ||
==Citation of | ==Citation of chapters or contributions in a book or compilation== | ||
<pre>{{Citation | <pre>{{Citation | ||
| last= | | last= | ||
| first= | | first= | ||
| author-link= | | author-link= | ||
| last2= | |||
| first2= | |||
| author2-link | |||
| date= | |||
| year= | | year= | ||
| | | contribution= | ||
| contribution-url= | |||
| editor-last= | | editor-last= | ||
| editor-first= | | editor-first= | ||
| | | editor-link= | ||
| editor2-last= | |||
| editor2-first= | |||
| editor2-link= | |||
| title= | | title= | ||
| edition= | | edition= | ||
| Line 221: | Line 229: | ||
| id= | | id= | ||
| url= | | url= | ||
}}</pre> | }}</pre> | ||
===Parameters=== | ===Parameters=== | ||
* ''' | * '''last''' (or '''last1'''): The first author's surname or last name. | ||
* '''first''' (or '''first1'''): The first author's first or given name(s). | |||
* | * '''author-link''' (or '''author1-link'''): Title of an existing Wikipedia article about the first author. | ||
* ''' | * '''last2''', '''last3''', '''last4''': The second, third, and fourth authors' surname or last name, if applicable. | ||
* ''' | * '''first2''', '''first3''', '''first4''': The second, third, and fourth authors' first or given name(s), if applicable. | ||
* '''author2-link''', '''author3-link''', '''author4-link''': Title of an existing Wikipedia article about the second, third, and fourth author, if applicable. | |||
* ''' | * '''date''': Date of authorship or publication. | ||
* '''editor''' ('' | * '''year''': Year of authorship or publication. (Mandatory for use with links from [[:Template:Harvard citation]]. In some situations, the template may be able to derive a year from the full date.) | ||
* ''' | * '''contribution''' (or '''chapter'''): Title of the contribution or chapter. | ||
* ''' | * '''contribution-url''' (or '''chapter-url'''): URL of the contribution or chapter. | ||
* ''' | * '''editor-last''' (or '''editor1-last'''): The first editor's surname or last name. | ||
* '''publisher''' | * '''editor-first''' (or '''editor2-first'''): The first editor's first or given name(s). | ||
* '''editor-link''' (or '''editor1-link'''): Title of an existing Wikipedia article about the first editor. | |||
* '''id''' | * '''editor2-last''', '''editor3-last''', '''editor4-last''': The second, third, and fourth editor' surname or last name, if applicable. | ||
* '''editor2-first''', '''editor3-first''', '''editor4-first''': The second, third, and fourth editors' first or given name(s), if applicable. | |||
* '''url''' | * '''editor2-link''', '''editor3-link''', '''editor4-link''': Title of an existing Wikipedia article about the second, third, and fourth editor, if applicable. | ||
* '''title''': Title of the book or compilation. | |||
* '''edition''': Number or name of the edition, if not the first; for example: ''edition''=2nd. | |||
* '''volume''': The volume number of a multi-volume book or compilation. | |||
* '''place''': The city of publication. If more than one town/city is listed on the title page, give the first one or the location of the publisher's head office. If the city is not well-known, you may add a county, region, or state. States in the U.S. are denoted by a two-letter code; for example: <code>Place=Paris, TX</code> (no period at the end). Where the publisher is a university and the place or location is included in the name of the university, do not use this parameter. | |||
* '''publisher''': The name of the publisher. Omit terms such as ''Publishers'', ''Co.'', ''Inc.'', ''Ltd.'', etc., but retain the words ''Books'' or ''Press''. | |||
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' | |||
* '''isbn''': Use this parameter if the book or compilation has an ISBN. | |||
* '''url''': An [[url]] of an online location where the book or compilationcan be found. | |||
=== | ===Examples=== | ||
<pre> | {| border="1" cellpadding="1em" | ||
|- | |||
|Letter republished in a compilation | |||
|<pre> | |||
{{Citation | {{Citation | ||
| last=Bidamon | | last=Bidamon | ||
| Line 261: | Line 278: | ||
}}. | }}. | ||
</pre> | </pre> | ||
|{{Citation | |||
{{Citation | |||
| last=Bidamon | | last=Bidamon | ||
| first=Emma Smith | | first=Emma Smith | ||
| Line 278: | Line 293: | ||
| isbn=1-56085-072-8 | | isbn=1-56085-072-8 | ||
}}. | }}. | ||
|- | |||
|Multiple authors and multiple editors | |||
|<pre> | |||
<pre> | |||
{{Citation | {{Citation | ||
| last1=Schmidt | | last1=Schmidt | ||
| Line 335: | Line 316: | ||
}}. | }}. | ||
</pre> | </pre> | ||
|{{Citation | |||
{{Citation | |||
| last1=Schmidt | | last1=Schmidt | ||
| first1=J. | | first1=J. | ||
| Line 349: | Line 328: | ||
| editor2-last=Bob | | editor2-last=Bob | ||
| editor2-first=T. | | editor2-first=T. | ||
| title= | | title=Jonesing for Jones | ||
| volume=12 | | volume=12 | ||
| place=New York | | place=New York | ||
| publisher= | | publisher=Fred Books | ||
| publication-date=2006 | | publication-date=2006 | ||
| isbn=1-55555-555-5 | | isbn=1-55555-555-5 | ||
}}. | }}. | ||
|- | |||
|Encyclopedia article by a named author | |||
|<pre> | |||
{{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 | |||
| year = 1999 | |||
| contribution-url = http:// | |||
www.geocities.com/martinkramerorg/ | |||
BernardLewis.htm | |||
}}. | |||
</pre> | |||
|{{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 | |||
| year = 1999 | |||
| contribution-url = http://www.geocities.com/martinkramerorg/BernardLewis.htm | |||
}}. | |||
|} | |||
==Citation of contributions, republications, or edited quotations in a periodical article== | |||
<pre>{{Citation | |||
| last= | |||
| first= | |||
| author-link= | |||
| last2= | |||
| first2= | |||
| author2-link | |||
| date= | |||
| year= | |||
| contribution= | |||
| contribution-url= | |||
| editor-last= | |||
| editor-first= | |||
| editor-link= | |||
| editor2-last= | |||
| editor2-first= | |||
| editor2-link= | |||
| title= | |||
| periodical= | |||
| volume= | |||
| issue= | |||
| pages= | |||
| id= | |||
| url= | |||
}}</pre> | |||
===Parameters=== | |||
* '''last''' (or '''last1'''): The first author's surname or last name. | |||
* '''first''' (or '''first1'''): The first author's first or given name(s). | |||
* '''author-link''' (or '''author1-link'''): Title of an existing Wikipedia article about the first author. | |||
* '''last2''', '''last3''', '''last4''': The second, third, and fourth authors' surname or last name, if applicable. | |||
* '''first2''', '''first3''', '''first4''': The second, third, and fourth authors' first or given name(s), if applicable. | |||
* '''author2-link''', '''author3-link''', '''author4-link''': Title of an existing Wikipedia article about the second, third, and fourth author, if applicable. | |||
* '''date''': Date of authorship or publication. | |||
* '''year''': Year of authorship or publication. (Mandatory for use with links from [[:Template:Harvard citation]]. In some situations, the template may be able to derive a year from the full date.) | |||
* '''contribution''' (or '''chapter'''): Title of the contribution or chapter. | |||
* '''contribution-url''' (or '''chapter-url'''): URL of the contribution or chapter. | |||
* '''editor-last''' (or '''editor1-last'''): The first editor's surname or last name. | |||
* '''editor-first''' (or '''editor2-first'''): The first editor's first or given name(s). | |||
* '''editor-link''' (or '''editor1-link'''): Title of an existing Wikipedia article about the first editor. | |||
* '''editor2-last''', '''editor3-last''', '''editor4-last''': The second, third, and fourth editor' surname or last name, if applicable. | |||
* '''editor2-first''', '''editor3-first''', '''editor4-first''': The second, third, and fourth editors' first or given name(s), if applicable. | |||
* '''editor2-link''', '''editor3-link''', '''editor4-link''': Title of an existing Wikipedia article about the second, third, and fourth editor, if applicable. | |||
* '''title''': Title of the book or compilation. | |||
* '''periodical''' (or '''journal''', '''newspaper''', '''magazine'''): Name of the periodical. | |||
* '''volume''': The volume number of the journal. | |||
* '''issue''' (or '''number'''): The issue number of the journal. | |||
* '''pages''' (''optional''): The pages in the issue where the article may be found. | |||
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' | |||
* '''url''': An [[url]] of an online location where the book or compilationcan be found. | |||
===Examples=== | |||
{| border="1" cellpadding="1em" | |||
|- | |||
|Manuscript edited and published in a journal | |||
|<pre> | |||
{{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 | |||
| page=35 | |||
| url=https://byustudies.byu.edu/ | |||
shop/PDFSRC/17.1Jessee.pdf | |||
}}.</pre> | |||
|{{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 | |||
| page=35 | |||
| url=https://byustudies.byu.edu/shop/PDFSRC/17.1Jessee.pdf | |||
}}. | |||
|} | |||
==Citation examples== | ==Citation examples== | ||
Revision as of 06:49, 20 February 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. It also has functionality allowing for convenient use of the Harvard referencing style, using "linking functionality" that allows inline harvard citations to link to the reference via the Template:Harvard citation template.
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 sysems such as the Harvard citation template, use of last and date parameters should be considered mandatory, where possible.
Citation of books
{{Citation
| last =
| first =
| author-link =
| last2 =
| first2 =
| author2-link =
| year =
| date =
| title =
| place =
| publisher =
| edition =
| volume =
| id =
| isbn =
| url =
}}
Parameters (all are optional)
- last (or last1): The author's surname or last name.
- first (or first1): The author's first or given name(s).
- author-link (or author1-link): Title of an existing Wikipedia article about the first author.
- last2, last3, last4: The second, third, and fourth authors' surname or last name, if applicable.
- first2, first3, first4: The second, third, and fourth authors' first or given name(s), if applicable.
- author2-link, author3-link, author4-link: Title of an existing Wikipedia article about the second, third, and fourth author, if applicable.
- date: Date of authorship or publication.
- year: Year of authorship or publication. (Mandatory for use with links from Template:Harvard citation. In some situations, the template may be able to derive a year from the full date.)
- title: Title of the book.
- edition: Number or name of the edition, if not the first; for example: edition=2nd.
- volume: The volume number of a multi-volume book.
- place: The city of publication. If more than one town/city is listed on the title page, give the first one or the location of the publisher's head office. If the city is not well-known, you may add a county, region, or state. States in the U.S. are denoted by a two-letter code; for example:
Place=Paris, TX(no period at the end). Where the publisher is a university and the place or location is included in the name of the university, do not use this parameter. - publisher: The name of the publisher. Omit terms such as Publishers, Co., Inc., Ltd., etc., but retain the words Books or Press.
- id: Identifier such as ISBN 1-111-22222-9
- isbn: Use this parameter if the book has an ISBN.
- url: An url of an online location where the book can be found.
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).. |
Citation of periodicals
{{Citation
| last=
| first=
| author-link=
| year=
| title=
| periodical=
| volume=
| issue=
| pages=
| url=
}}
Parameters
- last (or last1): The author's surname or last name.
- first (or first1): The author's first or given name(s).
- author-link (or author1-link): Title of an existing Wikipedia article about the first author.
- last2, last3, last4: The second, third, and fourth authors' surname or last name, if applicable.
- first2, first3, first4: The second, third, and fourth authors' first or given name(s), if applicable.
- author2-link, author3-link, author4-link: Title of an existing Wikipedia article about the second, third, and fourth author, if applicable.
- date: Date of authorship or publication.
- year: Year of authorship or publication. (Mandatory for use with links from Template:Harvard citation. In some situations, the template may be able to derive a year from the full date.)
- title: Title of the book.
- periodical (or journal, newspaper, magazine): Name of the periodical.
- volume: The volume number of the journal.
- issue (or number): The issue number of the journal.
- 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.
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).. |
Citation of chapters or contributions in a book or compilation
{{Citation
| last=
| first=
| author-link=
| last2=
| first2=
| author2-link
| date=
| year=
| contribution=
| contribution-url=
| editor-last=
| editor-first=
| editor-link=
| editor2-last=
| editor2-first=
| editor2-link=
| title=
| edition=
| place=
| publisher=
| publication-date=
| volume=
| pages=
| id=
| url=
}}
Parameters
- last (or last1): The first author's surname or last name.
- first (or first1): The first author's first or given name(s).
- author-link (or author1-link): Title of an existing Wikipedia article about the first author.
- last2, last3, last4: The second, third, and fourth authors' surname or last name, if applicable.
- first2, first3, first4: The second, third, and fourth authors' first or given name(s), if applicable.
- author2-link, author3-link, author4-link: Title of an existing Wikipedia article about the second, third, and fourth author, if applicable.
- date: Date of authorship or publication.
- year: Year of authorship or publication. (Mandatory for use with links from Template:Harvard citation. In some situations, the template may be able to derive a year from the full date.)
- contribution (or chapter): Title of the contribution or chapter.
- contribution-url (or chapter-url): URL of the contribution or chapter.
- editor-last (or editor1-last): The first editor's surname or last name.
- editor-first (or editor2-first): The first editor's first or given name(s).
- editor-link (or editor1-link): Title of an existing Wikipedia article about the first editor.
- editor2-last, editor3-last, editor4-last: The second, third, and fourth editor' surname or last name, if applicable.
- editor2-first, editor3-first, editor4-first: The second, third, and fourth editors' first or given name(s), if applicable.
- editor2-link, editor3-link, editor4-link: Title of an existing Wikipedia article about the second, third, and fourth editor, if applicable.
- title: Title of the book or compilation.
- edition: Number or name of the edition, if not the first; for example: edition=2nd.
- volume: The volume number of a multi-volume book or compilation.
- place: The city of publication. If more than one town/city is listed on the title page, give the first one or the location of the publisher's head office. If the city is not well-known, you may add a county, region, or state. States in the U.S. are denoted by a two-letter code; for example:
Place=Paris, TX(no period at the end). Where the publisher is a university and the place or location is included in the name of the university, do not use this parameter. - publisher: The name of the publisher. Omit terms such as Publishers, Co., Inc., Ltd., etc., but retain the words Books or Press.
- id: Identifier such as ISBN 1-111-22222-9
- isbn: Use this parameter if the book or compilation has an ISBN.
- url: An url of an online location where the book or compilationcan be found.
Examples
| Letter republished in a 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).. |
| Multiple authors and multiple editors | {{Citation
| last1=Schmidt
| first1=J.
| last2=Piper
| first2=P.
| chapter=Letter to Home
| date=[[March 27]] [[1996]]
| year=2006
| editor1-last=Grimm
| editor1-first=P.
| editor2-last=Bob
| editor2-first=T.
| title=Jonesing for Jones
| volume=12
| place=New York
| publisher=Fred Books
| publication-date=2006
| isbn=1-55555-555-5
}}.
|
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
| year = 1999
| contribution-url = http://
www.geocities.com/martinkramerorg/
BernardLewis.htm
}}.
|
Lua error: bad argument #1 to "get" (not a valid title).. |
Citation of contributions, republications, or edited quotations in a periodical article
{{Citation
| last=
| first=
| author-link=
| last2=
| first2=
| author2-link
| date=
| year=
| contribution=
| contribution-url=
| editor-last=
| editor-first=
| editor-link=
| editor2-last=
| editor2-first=
| editor2-link=
| title=
| periodical=
| volume=
| issue=
| pages=
| id=
| url=
}}
Parameters
- last (or last1): The first author's surname or last name.
- first (or first1): The first author's first or given name(s).
- author-link (or author1-link): Title of an existing Wikipedia article about the first author.
- last2, last3, last4: The second, third, and fourth authors' surname or last name, if applicable.
- first2, first3, first4: The second, third, and fourth authors' first or given name(s), if applicable.
- author2-link, author3-link, author4-link: Title of an existing Wikipedia article about the second, third, and fourth author, if applicable.
- date: Date of authorship or publication.
- year: Year of authorship or publication. (Mandatory for use with links from Template:Harvard citation. In some situations, the template may be able to derive a year from the full date.)
- contribution (or chapter): Title of the contribution or chapter.
- contribution-url (or chapter-url): URL of the contribution or chapter.
- editor-last (or editor1-last): The first editor's surname or last name.
- editor-first (or editor2-first): The first editor's first or given name(s).
- editor-link (or editor1-link): Title of an existing Wikipedia article about the first editor.
- editor2-last, editor3-last, editor4-last: The second, third, and fourth editor' surname or last name, if applicable.
- editor2-first, editor3-first, editor4-first: The second, third, and fourth editors' first or given name(s), if applicable.
- editor2-link, editor3-link, editor4-link: Title of an existing Wikipedia article about the second, third, and fourth editor, if applicable.
- title: Title of the book or compilation.
- periodical (or journal, newspaper, magazine): Name of the periodical.
- volume: The volume number of the journal.
- issue (or number): The issue number of the journal.
- pages (optional): The pages in the issue where the article may be found.
- id: Identifier such as ISBN 1-111-22222-9
- url: An url of an online location where the book or compilationcan be found.
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
| page=35
| url=https://byustudies.byu.edu/
shop/PDFSRC/17.1Jessee.pdf
}}.
|
Lua error: bad argument #1 to "get" (not a valid title).. |
Citation examples
These examples of citation within the text are based on related citation template Template:Harvard citation, which automatically creates a one-directional link to the first matching Harvard reference on the same page:
Markup in main text:
- {{Harvard citation|Turner|1851|pp=10-11}} (full cite format)
- {{Template:Harvard citation|Smith|1879|p=289}} (short format)
- {{Template:Harvard citation|Jones|2006|loc=section 5|Ref=none}} (non-linking)
- {{Template:Harvard citation|Lincoln|Washington|Adams|2007|pp=88-89}} (multi-author)
Results:
- (Turner 1851, pp. 10–11)
- (Smith 1879, p. 289)
- (Jones 2006, section 5)
- (Lincoln, Washington & Adams 2007, pp. 88–89)
Notes
- Because the Harvard referencing style is based on Surname and Year, these items are mandatory in both the citation and the reference.
- If there is only one author, the parameters Surname and Given may be replaced with Last and First, respectively.
- Template is generally compatible with Template:Cite book and Template:Cite journal.
See also
- Wikipedia:Cite sources: Style guide
- Wikipedia:Template messages/Sources of articles/Generic citations: Related templates





