Template:Harvcolnb
From Qi-Hardware
[[#CITEREF|]]
| 40x40px | 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. |
Contents |
[edit] Usage
Modified version of {{Harvard citation no brackets}}; used to display colon for page numbers in ASA style.
{{Harvcolnb | <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., "{{Harvcolnb|Smith|2006|loc=1.3.2}}" yields: Smith 2006, 1.3.2.
- The parameter p is an optional page parameter (e.g., "{{Harvcolnb|Smith|2006|p=25}}" yields: Smith 2006:25.
- The parameter pp is an optional page range parameter (e.g., "{{Harvcolnb|Smith|2006|pp=25–26}}" yields: Smith 2006:25–26.
Don't use leading or trailing spaces. {{Harvcolnb | Smith | 2006| p=25}} will not work.
For more information, see the documentation of {{Harvard citation}}.
[edit] Demo reference
- Smith, Thomas B. (2006), This book is the target of the link, Armonk, New York: M.E. Sharpe.
[edit] See also
- {{Citation}}, {{Cite book}}, {{Cite journal}} or {{Cite web}} (or any of several others) for formatting the reference
- {{Harvcol}}, the same as this template, but with brackets
- {{Harvcoltxt}}, the same as this template, but with brackets around the year and location
- {{Harvrefcol}}
[edit] 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:Harvcolnb/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |