Шаблон:Harvcol (OgQlku&Harvcol)
Перейти к навигации
Перейти к поиску
([[#CITEREF|]])
Этот шаблон использует некоторые чрезвычайно сложные и эзотерические свойства языка шаблонов. |
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.
См. также
[править код]- {{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