Template talk:Harvard citation

From Wikipedia, the free encyclopedia

Protected Template:Harvard citation has been protected indefinitely. Use {{editprotected}} on this page to request an edit.

Contents

[edit] Conversion from qif to ParserFunctions

I've converted this template from using {{qif}} to m:ParserFunctions (PF). Due to a bug in PF, numbered template parameters do not work when PF is used. As a workaround, I'm using this template here as a front end converting from numbered parameters to named parameters. The logic of this template is implemented in {{Harvard citation 2}} using PF. --Ligulem 18:49, 24 April 2006 (UTC)

Omniplex found a simpler workaround for bugzilla:5678: use empty defaults everywhere: {{{1}}} → {{{1|}}} and so on. {{Harvard citation 2}} is no longer needed then. I've speedied it. --Ligulem 12:20, 4 May 2006 (UTC)

[edit] Optional brackets?

For certain purposes - e.g. the very clever referencing system at Rabindranath Tagore - it would be useful to be able to drop the surrounding brackets. Could this be done with a parameter? Or would it be better just to copy and paste the code to a new template with a name like {{Harvnb}}? TheGrappler 17:39, 28 May 2006 (UTC)

I would copy this template here and leave away the round brackets. This would be KISS. --Ligulem 18:14, 28 May 2006 (UTC)
There is now {{Harvard citation no brackets}}. A request: would editors who edit this template make parallel edits on that template too? TheGrappler 01:23, 31 May 2006 (UTC)

[edit] Page numbers

I asked this question at the helpdesk, but now think this is the correct page. If not, please pardon my error:

The Harvard citation page uses a colon:

  • When you can (or should) provide a page number, the convention is (Smith 2005: 73).

BTW this is the method I prefer. However the citation examples in the Harvard Reference Templates section on Wikipedia:Template_messages/Sources_of_articles show that templates use "p." or "pp.":

  • (Smith 1879, p. 289).

The format in the guideline differs from the format produced by the template. Why? Which is authoritative? If the guideline/template is authoritative, would someone please change the template/guideline? Does someone have the last word on this kind of issue? (Full disclosure: I would prefer that the template be changed, because of my preference stated above).

Using {{Harvard citation | Smith | 2006:182-187}} leaves the page numbers as part of the link, which is both counterintuitive and esthetically unappealing, IMHO. [PS: I just tried it out, and the link doesn't work if formatted that way. So the "counterintuitive and esthetically unappealing" comment is irrelevant anyhow.]

Thanks, Ling.Nut 04:51, 13 August 2006 (UTC)

Sorry to be a pest. I copied & trivially modified the Harvard citation template, new template named Template:Harvcol, to serve the purpose I was requesting. Thanks!

Ling.Nut 23:40, 13 August 2006 (UTC)

[edit] Made three new Harvard templates

I made three new Harvard citation templates. Not sure if there is some group overseeing these kinds of things. If I've gone beyond bold into reckless, please let me know.

  • Template:Harvcol. Harvard citation with colons for page numbers.
  • Template:Harvcolnb. Same as above, no brackets.
  • Template:Harvcoltxt. Same as above, can use for cites like "according to Smith (1999), the..." Links to Auth name & year. Looks a bit funny when page numbers are included.

Examples are at: Austronesian languages, Homeland section.

Thanks Ling.Nut 03:21, 15 August 2006 (UTC)

[edit] Many different authors and different books in one footnote?

Hello, I'm putting these templates to Finnish Civil War but I've come to one problem. For example , the strenghts have one fote but three authors and three different books. Then the link below doesn't work.

I tried this: ref name="Strength"> (Arimo, Manninen, Upton 1991, 1992-1993, 1981, p. 289)</ref

but when I click the finished link it finds nothing. Hyperlinking between note and references, that's what I'm trying. --Pudeo (Talk) 12:25, 7 October 2006 (UTC)

Yeah well, now that I've tried many things I guess I need to split them to different notes and then put for example [1] [2] [4] in Strenghts for example? That's not better than to have them in one but no can do? Or hmm, could it be possible that at the notes to click the other name to get other reference that are still in the same note? And well, this explanation is quite confusing as it seems, check Finnish Civil War first note to see what I mean. --Pudeo (Talk) 13:02, 7 October 2006 (UTC)
To cite multiple works, you would need to use multiple templates. Also, you'd probably want to use Template:Harvnb. For example, I'd use ({{Harvnb|Arimo|1991}}; {{Harvnb|Manninen|1992-1993}}; {{Harvnb|Upton|1981}}), which would produce ( Arimo 1991; Manninen 1992-1993; Upton 1981).

[edit] Template is confused by five or more authors

This template gets confused by many authors. If you have five or more authors, then your use of this template today can only list the first four otherwise, the fifth author is taken to be the year. I feel this is a bug. This template should be documented to only take four or fewer authors and give some kind of error or skip to the last argument for the year in the case that five or more authors are given. Thanks. WilliamKF 21:02, 9 January 2007 (UTC)

[edit] Using Template:Harvard_citation without using Template:Harvard_reference?

I'm editing a page, Eicosanoid, which is currently referenced in Harvard reference style, but not using the Harvard templates. I'm considering doing a mass edit in order to get links from the inline cites down to the reference section, using the the Harvard templates.

Is it possible to use the Template:Harvard_citation without using the Template:Harvard_reference? I've got a lot of references using Template:Cite. Inline in the body of the article, there's unlinked text in Harvard style that calls them out. I want to hyperlink the body text to the references, but converting all those Cite templates into Harvard_reference seems daunting. Plus, since Harvard_reference lacks a DOI field, conversion would be lossy. David.Throop 15:17, 15 January 2007 (UTC)

Unfortunately, the Cite journal and Cite web templates do not have any kind of a linking functionality. Somebody should add that functionality to the other templates. COGDEN 19:43, 15 January 2007 (UTC)

[edit] How to cite a newspaper

In the Harvard Reference template, the page gives an example of a newspaper reference, so here we need an example of citing such a reference. I feel just doing author (the byline) year is not accurate and think that a cite using the name of the newspaper is more valuable. WilliamKF 20:35, 2 February 2007 (UTC)

I think if there is a named author of a newspaper article, or the author is the paper's editor, they probably should be cited as the author. For example, if you cite to an analysis by Lou Dobbs, it's more important to the reader to know that Dobbs wrote it, rather than what paper it's in. In other cases, however, where the article lists the author as merely "Associated Press" or "United Press International", I guess we have two options, either to treat it as a corporate author, or modify the Harvard reference template to allow linking by the name of the periodical. I'm not sure how best to implement that, however. There has to be some "signal" in the parameters of the Harvard reference template telling it that it will be cited by newspaper title rather than author. COGDEN 23:27, 2 February 2007 (UTC)

[edit] FULLPAGENAME

Why does this template use {{FULLPAGENAME}} ? This causes the template to produce links as [[article#CITEREF...]] and as a consequence, the links do not work during edit preview. I think that if we remove FULLPAGENAME, we get links like [[#CITEREF...]] which do work during edit preview. However, I don't know the full details about how templates work and I'm probably missing an important detail. -- Jitse Niesen (talk) 05:23, 11 March 2007 (UTC)

My first attempt was disastrous; apologies to anybody who suffered the consequences. However, after a bit of testing (what I should have done immediately), I found a version does what I want. The links now also work during edit preview. -- Jitse Niesen (talk) 06:24, 29 March 2007 (UTC)