Template:Harvard reference

MyWikiBiz, Author Your Legacy — Wednesday December 25, 2024
Jump to navigationJump to search

{{{Last}}} ({{{Year}}})

This template documentation is transcluded from Template:Harvard reference/doc [edit]
Information icon.svg This template employs some extremely complicated or esoteric features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

Reference to a book, one author

{{Harvard reference|Surname=|Given=|Authorlink=|Year=|Title=|Place=|Publisher=|ID=|URL=}}
  • Surname (required): The author's surname or last name. (This parameter may also be called Last).
    • Given (optional): The author's first or given name. In formal Harvard style references, this should include only the initials. (This parameter may also be called First or Initials).
    • Author (optional): While the Surname (or Last) tag is mandatory for referencing purposes, use of the Author parameter will override how the author's name is displayed in the reference.
  • Authorlink (optional): Title of a Wikipedia article about author. Article must already exist.
  • Year (required): Year of publication.
    • Date (optional): While the Year) tag is mandatory, use of the Date parameter will override how the date is displayed in the reference.
  • Title (optional): Title of the book.
  • Edition (optional): Number or name of the edition, if not the first; for example: Edition=2nd.
  • Place (optional): 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 (optional): The name of the publisher. Omit terms such as Publishers, Co., Inc., Ltd., etc., but retain the words Books or Press.
  • ID (optional): Identifier such as ISBN 1-111-22222-9
    • ISBN (optional): Use this parameter if the book has an ISBN.
  • URL (optional): An url of an online location where the book can be found.
  • Access-date (optional): The date on which the url was last accessed.

Reference to an article in a periodical, one author

{{Harvard reference|Surname=|Given=|Authorlink=|Year=|Title=|Journal=|Volume=|Issue=|Pages=|URL=}}
  • Surname (required): The author's surname or last name. (This parameter may also be called Last).
    • Given (optional): The author's first or given name. In formal Harvard style references, this should include only the initials. (This parameter may also be called First or Initials).
    • Author (optional): While the Surname (or Last) tag is mandatory for referencing purposes, use of the Author parameter will override how the author's name is displayed in the reference.
  • Authorlink (optional): Title of a Wikipedia article about author. Article must already exist.
  • Year (required): Year of publication in the journal.
    • Date (optional): While the Year) tag is mandatory, use of the Date parameter will override how the date is displayed in the reference.
  • Title (optional): Title of the article.
  • Journal (optional): Name of the journal or periodical. (This parameter may also be called Periodical).
  • Volume (optional): The volume number of the journal.
  • Issue (optional): The issue number of the journal. (This parameter may also be called Number).
  • Pages (optional): The pages in the issue where the article may be found. (If the article is on only one page, use the parameter Page instead).
  • URL (optional): An url of an online location where the article can be found.
  • Access-date (optional): The date on which the url was last accessed.

Reference to a contribution or chapter in a book, one author and one editor

{{Harvard reference|Surname=|Given=|Authorlink=|Year=|Chapter=|Editor=|Title=|Place=|Publisher=|Pages=
|ID=|URL=}}
  • Surname (required): The author's surname or last name. (This parameter may also be called Last).
    • Given (optional): The author's first or given name. In formal Harvard style references, this should include only the initials. (This parameter may also be called First or Initials).
    • Author (optional): While the Surname (or Last) tag is mandatory for referencing purposes, use of the Author parameter will override how the author's name is displayed in the reference.
  • Authorlink (optional): Title of a Wikipedia article about author. Article must already exist.
  • Year (required): Year of publication.
    • Date (optional): While the Year) tag is mandatory, use of the Date parameter will override how the date is displayed in the reference.
  • Chapter (required for chapters): Title of the contribution in the book. (This parameter may also be called Contribution).
  • Editor (optional): Name of the editor or editors.
  • Title (required for chapters): Title of the book.
  • Edition (optional): Number or name of the edition, if not the first; for example: Edition=2nd.
  • Place (optional): 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 (optional): The name of the publisher. Omit terms such as Publishers, Co., Inc., Ltd., etc., but retain the words Books or Press.
  • Pages (optional): The pages in the book where the chapter or contribution may be found. (If the contribution is on only one page, use the parameter Page instead).
  • ID (optional): Identifier such as ISBN 1-111-22222-9
    • ISBN (optional): Use this parameter if the book has an ISBN.
  • URL (optional): An url of an online location where the book can be found.
  • Access-date (optional): The date on which the url was last accessed.

Book or periodical, multiple authors, up to four

{{Harvard reference|Surname1=|Given1=|Authorlink1=|Surname2=|Given2=|Authorlink2=|Surname3=|Given3=
|Authorlink3=|Surname4=|Given4=|Authorlink4=|Year=|Title=|Place=|Publisher=|ID=|URL=}}
  • Surname1 (required): The first author's surname or last name. (This parameter may also be called Last1).
    • Given1 (optional): The author's first or given name. In formal Harvard style references, this should include only the initials. (This parameter may also be called First1 or Initials1).
    • Author1 (optional): While the Surname1 (or Last1) tag is mandatory for referencing purposes, use of the Author1 parameter will override how the first author's name is displayed in the reference.
  • Authorlink1 (optional): Title of a Wikipedia article about the first author. Article must already exist.
  • Other authors: use Surname2, Surname3, etc.

Examples

Books

{{ Harvard reference
 | Surname=Turner
 | Given=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
 }}.

Result: Turner, O. (1851), Template:Link, Rochester, New York: William Alling.

Periodicals

{{Harvard reference
 | 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
 }}.

Result: Hill, Marvin S. (1976), Template:Link, BYU Studies, vol. 12, no. 2, pp. 1–8.

Newspapers

{{Harvard reference
 | Last=Smith
 | First=Joseph III
 | Authorlink=Joseph Smith III
 | Title=Last Testimony of Sister Emma
 | Journal=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
 }}.

Result: Smith, Joseph III (October 1, 1879), Template:Link, The Saints' Herald, vol. 26, no. 19, p. 289.

Minimal reference

{{Harvard reference
 | Last=Jones
 | Year=2006
 }}.

Result: Jones (2006).

Multiple authors

{{Harvard reference
 | Surname1=Lincoln
 | Given1=A.
 | Surname2=Washington
 | Given2=G.
 | Surname3=Adams
 | Given3=J.
 | Title=All the Presidents' Names
 | Publisher=The Pentagon
 | Place=Home Base, New York
 | Year=2007
 }}.

Result: Lincoln, A., Washington, G. & Adams, J. (2007), Template:Link, Home Base, New York: The Pentagon.

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)
  • {{Harv|Smith|1879|p=289}} (short format)
  • {{Harv|Jones|2006|loc=section 5|Ref=none}} (non-linking)
  • {{Harv|Lincoln|Washington|Adams|2007|pp=88-89}} (multi-author)

Results:

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