Template talk:Harvard reference

The educational technology and digital learning wiki
Revision as of 16:44, 18 April 2006 by Daniel K. Schneider (talk | contribs) (using an external editor)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

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.
  • 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.
  • 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.
  • 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=|...|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

Harvard references (books and journals)
  • For 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 }}.
  • For periodicals: {{Harvard reference | Surname=Smith | Given=J. III | Authorlink=Joseph Smith III | Title=Last Testimony of Sister Emma | Journal=The Saints' Herald | Volume=26 | Issue=19 | Year=1879 | Page=289 | URL=http://www.lavazone2.com/dbroadhu/IL/sain1872.htm#100179 }}.
  • Minimal reference: {{Harvard reference | Last=Jones | Year=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 }}.

Citation examples, based on related citation template (automatically creates a one-directional link to the first matching Harvard reference on the same page):

  • {{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)
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:Book reference and Template:Journal reference.

Results


  • (Turner 1851, pp. 10-11)
  • (Smith 1879, p. 289)
  • (Jones 2006, section 5)
  • (Lincoln, Washington & Adams 2007, pp. 88-89)

|}

Sooo...

Guys, what is the difference between using this template:

* {{Harvard reference
| Surname1=Di Maio
| First1=M
| Surname2=Pisano
| First2=C
| Surname3=Tambaro
| First3=R, Greggi S, Casella G, Laurelli G, Formato R, Iaffaioli RV, Perrone F & Pignata S
| Year=2006
| Title=The prognostic role of pre-chemotherapy hemoglobin level in patients with ovarian cancer
| Periodical=Front Biosci
| Volume=11:1585-90
| Date=[[May 1]], [[2006]]
}}. PMID 16368539.


which produces the following result:

  • Di Maio, M, Pisano, C & Tambaro, R, Greggi S, Casella G, Laurelli G, Formato R, Iaffaioli RV, Perrone F & Pignata S (2006), "The prognostic role of pre-chemotherapy hemoglobin level in patients with ovarian cancer", Front Biosci, vol. 11:1585-90. PMID 16368539.


and this code:

<li>Di Maio, M, Pisano, C & Tambaro, R, Greggi S, Casella G, Laurelli G, Formato R, Iaffaioli RV, Perrone F & Pignata S (2006), "The prognostic role of pre-chemotherapy hemoglobin level in patients with ovarian cancer", <i>Front Biosci</i>, vol. 11:1585-90. [http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=16368539 PubMedID 16368539]</li>.

which results in the same thing (at least on my comp):

  • Di Maio, M, Pisano, C & Tambaro, R, Greggi S, Casella G, Laurelli G, Formato R, Iaffaioli RV, Perrone F & Pignata S (2006), "The prognostic role of pre-chemotherapy hemoglobin level in patients with ovarian cancer", Front Biosci, vol. 11:1585-90. PubMedID 16368539.
  • besides the fact that the second code doesn't force the servers into a "delivery pizza" situation. Or with other words - what is the benefit of using this sophisticated template? -- Boris 17:01, 25 December 2005 (UTC)

    See also



    URL access date

    This template is quite nice, and also beyond my ability to safely and boldly edit. So I write to its maintainers: shold we not have optional fields for URL access date? The Harvard Standard seems to require one when a URL is included in the citation (as this template allows), formatted as d MMMM yyyy in square brackets at the end of the cite, like so: [1 September 2004] (no punctuation). I, for one, would be far more likely to use it if this was included. I note further that, for compatibility with date preferences, we might rather have the day-month and year portions separated and wikified. --Kgf0 22:23, 10 November 2005 (UTC)

    That's a good idea. I'll try to add that. I'll also let the date be wikified. COGDEN 23:55, 10 November 2005 (UTC)

    Space in surname

    While editing Maracaibo, I discovered that a citation using a two-word surname (i.e., de Pons) causes the reference and the citation not to link correctly. The in-article reference does the correct thing by converting the space to an underscore (#CITEREFde_Pons1806), but in the reference, the anchor does not contain an underscore (<cite style="font-style:normal" id="CITEREFde Pons1806">). The result is that clicking the in-text reference does not link to the citation. --Animated Cascade talk 10:51, 12 December 2005 (UTC)

    Newspaper

    What's the correct way to use this template for citing newspaper articles? See, for example, Robert Hayes Gore. I have the date in "Volume", so it gets preceeded by "no.". One of the examples here shows a "Date" field, but that doesn't seem to work. Any ideas? I'm sure I'm just missing the obvious... JRP 12:51, 7 March 2006 (UTC)