Jump to content

Template:Harvard citation/doc

From Rome
Revision as of 17:50, 1 March 2025 by TheAP (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Shortcuts
Template:Harvtxt and Template:Harvnb

Usage

The Harvard citation template creates a short author–date citation with a one-directional link to the first matching citation template on the same page.

<ref>{{{{{1}}} | <last1*> | <last2> | <last3> | <last4> | <year*> | p= <page> | loc= <location> }}</ref>

  • <last1> – required; surname of first author or corporate author
  • <last2>–<last4> – positional parameters; surnames of next three authors; required if available in the full citation
  • <year> – required; four-digit year; may have a lowercase disambiguation letter, like 2012a
  • |p= – specific page referenced in the source (alias: |page= )
  • |pp= – comma-separated list of individual pages and / or range(s) of pages referenced in the source (alias: |pages= )
  • |loc= – in-source location when |p= and |pp= are inappropriate; may be used to supplement |p= and |pp=; information such as a section or figure number.
  • Typical usage is shown in the example below. The text and the footnote are connected by a bi-directional link – clicking on the superscript takes the reader to the footnote, clicking on the footnote number takes them back to the superscript. The clicking on the short citation takes them to the full citation in the references section.

Example

"A quote in a secondary source."[1]

Notes

  1. Smith (2011, p. 2) quoted in Jones (2010, p. 343)
</ref> ;gives: "A quote in a secondary source."[1]

Notes

  1. Smith (2011, p. 2) quoted in Jones (2010, p. 343)
[W]
Wikipedia
See Template:Harvard citation on Wikipedia for the complete documentation!