You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Template:Harvcol
([[#CITEREF|]])
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage
Trivially modified version of {{Harvard citation}}; used to display colon for page numbers in compliance with ASA style.
{{Harvcol | <Last name of author(s)> | <Year> | loc=<Location in the text> OR p=<page> OR pp=<pages> }}
- The first parameter is the author's last name.
- The second parameter is the year of publication.
- The optional parameter loc is the location of the cited material within the reference (e.g., "{{Harvcol|Smith|2006|loc=1.3.2}}" yields: (Smith 2006, 1.3.2).
- The parameter p is an optional page parameter (e.g., "{{Harvcol|Smith|2006|p=25}}" yields: (Smith 2006:25).
- The parameter pp is an optional page range parameter (e.g., "{{Harvcol|Smith|2006|pp=25–26}}" yields: (Smith 2006:25–26).
- If Ref=none, then no hyperlink is created.
Don't use leading or trailing spaces. {{Harvcol | Smith | 2006| p=25}} will not work.
For more information, see the documentation of {{Harvard citation}}.
Demo references
- Gold, Thomas B. (1986), Example book title, Armonk, New York: M.E. Sharpe.
- Gold, Thomas B. (1986), Example book title, Armonk, New York: M.E. Sharpe.
- Gold, Thomas B. (1986), Example book title, Armonk, New York: M.E. Sharpe.
- Smith, Thomas B. (2006), This book is the target of the link, Armonk, New York: M.E. Sharpe.
- Gold, Thomas B. (1986), Example book title, Armonk, New York: M.E. Sharpe.
- Gold, Thomas B. (1986), Example book title, Armonk, New York: M.E. Sharpe.
- Gold, Thomas B. (1986), Example book title, Armonk, New York: M.E. Sharpe.
See also
- {{Citation}}, {{Cite book}}, {{Cite journal}} or {{Cite web}} (or any of several others) for formatting the reference
- {{Harvcoltxt}}, the same as this template, but with the name outside the brackets
- {{Harvcolnb}}, the same as this template, but without brackets
- {{Harvrefcol}}
Other Harvard citation templates
- {{Harvard citation}} or {{harv}}, the basic template for Harvard citations
- {{Harvard citation no brackets}} or {{harvnb}}, Harvard citation without brackets
- {{Harvard citation text}} or {{harvtxt}}, Harvard citation with the name outside the brackets
- {{Harvard citations}} or {{harvs}}, for multiple Harvard citations and other more complicated features
The above documentation is transcluded from Template:Harvcol/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |