|
|
Line 1: |
Line 1: |
| {{documentation subpage}} | | {{Documentation subpage}} |
| <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
| ==Harvard citation templates==
| |
| The templates for using Harvard citations are:
| |
| *{{tl2|Harvard citation}} or {{tl2|harv}} for a basic Harvard citation
| |
| *{{tl2|Harvard citation no brackets}} or {{tl2|harvnb}} for a Harvard citation with no brackets
| |
| *{{tl2|Harvard citation text}} or {{tl2|harvtxt}} for a Harvard citation with the name outside the brackets
| |
| *{{tl2|Harvard citations}} or {{tl2|harvs}} for multiple Harvard citations and other more complicated features.
| |
| *{{tl2|citation}} for formatting the reference.
| |
|
| |
|
| This page describes the first 3; for the others see their documentation pages.
| | === Usage === |
| ==Usage== | |
|
| |
|
| : <tt><nowiki>{{</nowiki>Harvard citation |''Last name of author(s)''|''Year''| loc = ''Location in the text''}}</tt>
| | === See also === |
| | |
| Instead of using the optional loc parameter, you may also use one of the following parameters:
| |
| | |
| *<tt>p = ''page''</tt>
| |
| *<tt>pp = ''pages''</tt>
| |
| | |
| ; Notes
| |
| *The abbreviation ''Harv'' may be used.
| |
| *The first parameter is the author's last name.
| |
| *Up to four authors can be given as parameters (see the examples). If there are more than 4 authors only the first 4 should be listed; listing more will cause odd things to happen.
| |
| *The next parameter is the year of publication.
| |
| *The year and author name(s) must not have extra space before and after, else the generated links will not work. (BUG)
| |
| *The "loc = " parameter is the location of the cited material within the reference. This parameter is optional.
| |
| *The parameter ''p'' is an optional page parameter; thus "<tt><nowiki>{{Harv|Smith|2006| p=25}}</nowiki></tt>" yields "{{Harv|Smith|2006|p=25}}".
| |
| *The parameter ''pp'' is an optional page range parameter; thus "<tt><nowiki>{{Harv|Smith|2006| pp=25&ndash;26}}</nowiki></tt>" yields "{{Harv|Smith|2006|pp=25–26}}".
| |
| *If ''Ref''=''none'', then no hyperlink is created.
| |
| *To avoid the brackets surrounding the citation, use {{tl2|Harvard citation no brackets}} or {{tl2|Harvnb}}.
| |
| *To use the author name(s) in the text, use {{tl2|Harvard citation text}} or {{tl2|Harvtxt}}.
| |
| *For more complicated Harvard citations with multiple links use {{tl2|Harvard citations}} or its abbreviation {{tl2|harvs}}.
| |
| *For authors who have published more than one work in the same year, the standard way to differentiate such works is to put a lowercase letter after the year (e.g. year=2006a and year=2006b).
| |
| | |
| Editors editing this template are requested to make parallel changes to the other versions.
| |
| | |
| ==Examples==
| |
| | |
| :{| class="wikitable"
| |
| |-
| |
| ! Markup !! Result
| |
| |-
| |
| | <tt><nowiki>{{Harv |Smith|2006| loc=&sect;8.5}}</nowiki></tt>
| |
| | {{Harvard citation |Smith|2006| loc=§8.5}}
| |
| |-
| |
| | <tt><nowiki>{{Harv |Smith|2006| p=25}}</nowiki></tt>
| |
| | {{Harv |Smith|2006 |p=25}}
| |
| |-
| |
| | <tt><nowiki>{{Harv |Smith|2006| pp=25&ndash;26}}</nowiki></tt>
| |
| | {{Harv |Smith|2006| pp=25–26}}
| |
| |-
| |
| | <tt><nowiki>{{Harv |Smith|2006| pp=25&ndash;26 | Ref=none}}</nowiki></tt>
| |
| | {{Harv |Smith|2006| pp=25–26 | Ref=none}}
| |
| |-
| |
| | <tt><nowiki>{{Harv |Smith|Jones|2006| p=25}}</nowiki></tt>
| |
| | {{Harv |Smith|Jones|2006| p=25}}
| |
| |-
| |
| | <tt><nowiki>{{Harv |Smith|Jones|Brown|2006| p=25}}</nowiki></tt>
| |
| | {{Harv |Smith|Jones|Brown|2006| p=25}}
| |
| |-
| |
| | <tt><nowiki>{{Harv |Smith|Jones|Brown|Black|2006| p=25}}</nowiki></tt>
| |
| | {{Harv |Smith|Jones|Brown|Black|2006| p=25}}
| |
| |-
| |
| | <tt><nowiki>{{Harvnb |Smith|2006| p=25}}</nowiki></tt>
| |
| | {{Harvnb |Smith|2006| p=25}}
| |
| |-
| |
| | <tt><nowiki>{{Harvtxt |Smith|2006| p=25}}</nowiki></tt>
| |
| | {{Harvtxt |Smith|2006| p=25}}
| |
| |}
| |
| | |
| ==Recommended style==
| |
| The recommended Harvard referencing style potentially uses all four templates. Each automatically generates a hypertext link based on the name(s) and date. Here is an example
| |
| :;Markup
| |
| :: <tt><nowiki>Some works on gravitation are so massive they warp spacetime themselves {{Harv|Misner|Thorne|Wheeler|1973}}; yet {{Harvtxt|Einstein|1915}} presented essential equations with notable brevity. The essential ingredients are the curvature tensor and the stress-energy tensor ({{Harvnb|Einstein|1915|loc=p.&nbsp;844}}; {{Harvnb|Misner|Thorne|Wheeler|1973|loc=p.&nbsp;41}}).</nowiki></tt>
| |
| :;Result
| |
| :: Some works on gravitation are so massive they warp spacetime themselves {{Harv|Misner|Thorne|Wheeler|1973}}; yet {{Harvtxt|Einstein|1915}} presented essential equations with notable brevity. The two ingredients are the curvature tensor and the stress-energy tensor ({{Harvnb|Einstein|1915|loc=p. 844}}; {{Harvnb|Misner|Thorne|Wheeler|1973|loc=p. 41}}).
| |
| In short:
| |
| # For a single work with no author in the text (the most common case), use {{tl2|Harv}}.
| |
| # For a single work with the author named in the text, use {{tl2|Harvtxt}}.
| |
| # For multiple works at the same point, use explicit parentheses and {{tl2|Harvnb}} separated by semicolons.
| |
| # For anything more complicated use {{tl2|Harvs}}.
| |
| | |
| ==<nowiki>#CITEREF</nowiki>==
| |
| | |
| More exotic Harvard citations can be constructed using the {{tl2|harvs}} template. If even this is not enough, then as a last resort one can use <nowiki>#CITEREF</nowiki> as in the following example:
| |
| :<nowiki>[[Property (T)]] was introduced by [[David Kazhdan]] ([[Property T#CITEREFKazhdan1967|1967]]).</nowiki>
| |
| which produces
| |
| :[[Property (T)]] was introduced by [[David Kazhdan]] ([[Property T #CITEREFKazhdan1967|1967]])
| |
| with a link to the author, and a link to a citation on a different page.
| |
| <nowiki>#CITEREF</nowiki> should be followed by the last names of up to 4 authors and the year (with no spaces),
| |
| and if the link is to a different page it should be preceded by the name of the page (with spaces allowed). The [[template:citation|citation template]] marks the reference using <nowiki>#CITEREF</nowiki>; see the source of
| |
| [[template:citation/core]] for details.
| |
| | |
| ==Use with <nowiki>{{Citation}}</nowiki>==
| |
| The {{tl2|Citation}} template can be used to format the citations in the ''References'' section.
| |
| Links from the Harvard citation to the Citation are provided using a <code>#CITEREF</code> link. The {{tl2|Harvard citation}} template creates a link <code>#CITEREF</code> followed by the concatenation of the author names and the year. {{tl2|Citation}} creates an [[HTML element#Links and anchors|anchor]] <code><nowiki><a name="CITEREF"></a></nowiki></code> followed by the concatenation of the following parameters:
| |
| *'''last''' or '''last1''' or '''surname''' or '''surname1''' or '''author''' or '''author1''' or '''authors''',
| |
| *'''last2''' or '''surname2''' or '''author2''',
| |
| *'''last3''' or '''surname3''' or '''author3''',
| |
| *'''last4''' or '''surname4''' or '''author4''',
| |
| *'''editor-last''' or '''editor-surname''' or '''editor1-last''' or '''editor1-surname''' or '''editor''' or '''editors''',
| |
| *'''editor2-last''' or '''editor2-surname''',
| |
| *'''editor3-last''' or '''editor3-surname''',
| |
| *'''editor4-last''' or '''editor4-surname''',
| |
| *'''year''' or '''date'''.
| |
| | |
| For example <tt><nowiki>{{Harv|Smith|2006| p=25}}</nowiki></tt> produces a link <code>#CITEREFSmith2006</code> and <code><nowiki>{{Citation|last=Smith|first=John|year=2006|title=My Life}}</nowiki></code>
| |
| produces an anchor <code><nowiki>CITEREFSmith2006</nowiki></code>.
| |
| ==References==
| |
| *{{Citation
| |
| | last=Smith
| |
| | first=John
| |
| | year=2006
| |
| | title=My Life
| |
| }}
| |
| *{{Citation
| |
| | last=Smith
| |
| | first=John
| |
| | last2=Jones
| |
| | first2=Jack
| |
| | year=2006
| |
| |title=Our life together
| |
| }}
| |
| *{{Citation
| |
| | author1=Smith
| |
| | author2=Jones
| |
| | author3=Brown
| |
| | year=2006
| |
| | title=Three's a crowd
| |
| }}
| |
| *{{Citation
| |
| | author1=Smith
| |
| | author2=Jones
| |
| | author3=Brown
| |
| | author4=Black
| |
| | year=2006
| |
| | title=All together now
| |
| }}
| |
| *{{Citation
| |
| | last=Misner
| |
| | first=Charles W.
| |
| | last2=Thorne
| |
| | first2=Kip S.
| |
| | first3=John Archibald
| |
| | last3=Wheeler
| |
| | title=Gravitation
| |
| | publisher=W. H. Freeman
| |
| | location = San Francisco
| |
| | year = 1973
| |
| | month = September
| |
| | id = ISBN 0-7167-0344-0 }}
| |
| *{{Citation
| |
| | last =Einstein
| |
| | first =Albert
| |
| | title =Die Feldgleichungen der Gravitation (The Field Equations of Gravitation)
| |
| | journal =Koniglich Preussische Akademie der Wissenschaften
| |
| | pages =844–847
| |
| | year =1915
| |
| }}
| |
|
| |
|
| <includeonly> | | <includeonly> |
| <!-- ADD CATEGORIES BELOW THIS LINE --> | | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
| [[Category:Citation templates|{{PAGENAME}}]] | | [[Category:Language icon templates|fr]] |
|
| |
|
| <!-- ADD INTERWIKIS BELOW THIS LINE -->
| | [[bs:Šablon:Fr simbol]] |
| [[fr:Template:Référence Harvard]] | | [[ca:Plantilla:Fr]] |
| [[ja:Template:Harv]] | | [[cs:Šablona:Fr]] |
| | [[cy:Nodyn:Eicon fr]] |
| | [[da:Skabelon:Fr sprog]] |
| | [[el:Πρότυπο:Fr]] |
| | [[es:Plantilla:Fr]] |
| | [[eu:Txantiloi:Fr]] |
| | [[fr:Modèle:Fr]] |
| | [[gl:Template:Fr]] |
| | [[hr:Predložak:Fr]] |
| | [[id:Templat:Fr]] |
| | [[it:Template:Fr]] |
| | [[lb:Template:Fr]] |
| | [[li:Sjabloon:Fr]] |
| | [[mk:Шаблон:Fr]] |
| | [[nl:Sjabloon:Fr]] |
| | [[ja:Template:Fr icon]] |
| | [[pt:Predefinição:((fr))]] |
| | [[ro:Format:Fr icon]] |
| | [[ru:Шаблон:Ref-fr]] |
| | [[sk:Šablóna:Fr icon]] |
| | [[sl:Predloga:Ikona fr]] |
| | [[sr:Шаблон:Fr]] |
| | [[sh:Template:Fr icon]] |
| | [[fi:Malline:Fr]] |
| | [[sv:Mall:Fr ikon]] |
| | [[vi:Tiêu bản:Fr icon]] |
| | [[tr:Şablon:Fra]] |
| | [[zh:Template:Fr icon]] |
| </includeonly> | | </includeonly> |