Privacy Policy Cookie Policy Terms and Conditions Template talk:Harvard citation - Wikipedia, the free encyclopedia

Template talk:Harvard citation

From Wikipedia, the free encyclopedia

Contents

[edit] Documentation

[edit] Usage

{{Harvard citation | ''Last name of author(s)'' | ''Year'' | ''Location in the text'' }}

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., "{{ Harv | Smith | 2006 | p=25 }}" yields (Smith 2006, p. 25).
  • The parameter pp is an optional page range parameter (e.g., "{{ Harv | Smith | 2006 | pp=25-26 }}" yields (Smith 2006, pp. 25-26).

If Ref=none, then no hyperlink is created.

[edit] Examples

  • {{Harvard citation | Smith | 2006 | ch. 100}}
  • {{Harv | Smith | 2006 | p=25}}
  • {{Harv | Smith | 2006 | pp=25-26}}
  • {{Harv | Smith | 2006 | pp=25-26 | Ref=none}}

yields:

[edit] See also

[edit] Discussion

[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).
THIS WEB:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2006:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu