Template:Harvard citation/doc
This is a documentation subpage for Template:Harvard citation. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
change{{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.
- To avoid the brackets surrounding the citation, use {{Harvard citation no brackets}} (or {{Harvnb}}).
Examples
change- {{Harvard citation | Smith | 2006 | loc=ch. 100}}
- {{Harv | Smith | 2006 | p=25}}
- {{Harv | Smith | 2006 | pp=25-26}}
- {{Harv | Smith | 2006 | pp=25-26 | Ref=none}}
- {{Harv | Smith | Jones | 2006 | p=25}}
- {{Harv | Smith | Jones | Brown | 2006 | p=25}}
- {{Harv | Smith | Jones | Brown | Black | 2006 | p=25}}
yields:
- (Smith 2006, ch. 100)
- (Smith 2006, p. 25)
- (Smith 2006, pp. 25–26)
- (Smith 2006, pp. 25–26)
- (Smith & Jones 2006, p. 25)
- (Smith, Jones & Brown 2006, p. 25)
- (Smith et al. 2006, p. 25)
Other versions
change- {{Harvard citation no brackets}} / {{harvnb}} is a bracketless version of this template.
For example, {{Template:Harvard citation no brackets | Smith | 2006 | loc=ch. 100}} yields "Smith 2006, ch. 100".
Editors editing this template are requested to make parallel changes to this other version.
Related pages
change- Use {{Citation}} to format the citations in the References section.