Template:Harvard citation/doc

MyWikiBiz, Author Your Legacy — Thursday November 21, 2024
Jump to navigationJump to search
Edit-paste.svg
This is the template documentation page for {{Harvard citation}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Usage

{{Harvard citation | ''Last name of author(s)'' | ''Year'' | ''Location in the text'' }}

Alternative to using Location, you may also use the following parameters:

p = page pp = pages

Notes
  • The abbreviation Harv may be used.
  • The first parameter is the author's last name.
  • The second parameter is the year of publication.
  • The third parameter is the location of the cited material within the reference. This parameter is optional.
  • The parameter p is an optional page parameter (e.g., "{{ Harv | Smith | 2006 | p=25 }}" yields (Smith 2006, p. 25).
  • The parameter pp is an optional page range parameter (e.g., "{{ Harv | Smith | 2006 | pp=25-26 }}" yields (Smith 2006, pp. 25-26).

If Ref=none, then no hyperlink is created.

Examples

  • {{Harvard citation | Smith | 2006 | ch. 100}}
  • {{Harv | Smith | 2006 | p=25}}
  • {{Harv | Smith | 2006 | pp=25-26}}
  • {{Harv | Smith | 2006 | pp=25-26 | Ref=none}}

yields:

See also

Bracketless version

A bracketless version of this template is available using {{Harvard citation no brackets}}. Editors editing this template are requested to make parallel changes to that one too.