2,175 bytes added
, 19:20, 2 January 2007
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
==Usage==
<pre>
{{Harvard citation | ''Last name of author(s)'' | ''Year'' | ''Location in the text'' }}
</pre>
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., "<nowiki>{{ Harv | Smith | 2006 | p=25 }}</nowiki>" yields {{Harv|Smith|2006|p=25}}.
*The parameter ''pp'' is an optional page range parameter (e.g., "<nowiki>{{ Harv | Smith | 2006 | pp=25-26 }}</nowiki>" yields {{Harv|Smith|2006|pp=25-26}}.
If ''Ref''=''none'', then no hyperlink is created.
*To avoid the brackets surrounding the citation, use {{tl|Harvard citation no brackets}} (or {{tl|Harvnb}}).
==Examples==
*<nowiki>{{</nowiki>[[Template:Harvard citation|Harvard citation]] <nowiki>| Smith | 2006 | ch. 100}}</nowiki>
*<nowiki>{{</nowiki>[[Template:Harv|Harv]] <nowiki>| Smith | 2006 | p=25}}</nowiki>
*<nowiki>{{</nowiki>[[Template:Harv|Harv]] <nowiki>| Smith | 2006 | pp=25-26}}</nowiki>
*<nowiki>{{</nowiki>[[Template:Harv|Harv]] <nowiki>| Smith | 2006 | pp=25-26 | Ref=none}}</nowiki>
yields:
*{{Harvard citation|Smith|2006|ch. 100}}
*{{Harvard citation|Smith|2006|p=25}}
*{{Harvard citation|Smith|2006|pp=25-26}}
*{{Harvard citation|Smith|2006|pp=25-26|Ref=none}}
==See also==
*{{tl|Harvard reference}}
==Bracketless version==
A bracketless version of this template is available using {{tl|Harvard citation no brackets}}. Editors editing this template are requested to make parallel changes to that one too.
<includeonly>
{{protected template}}
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>