Template:Harvard citation documentation

說明

本模板可以容納4個“作者”同時作為參考文獻被引用。

參數

第一種情況

代码 效果
== References ==
* {citation
 |title = Smith's paper
 |... }
* {cite web
 |title = Smith & Jones website
 |...
 |ref = harv }
* {cite news
 |title = Article by Smith, Jones and Brown
 |...
 |ref = harv }
* {cite journal
 |title= Smith, Jones, Brown and Black's Paper
 |...
 |ref = harv }
References
  • Smith, John, Smith's paper, 2005 
  • Smith, John; Jones, Sam. Smith & Jones website. 2005. 
  • Smith, John; Jones, Sam; Brown, Tom. Article by Smith, Jones and Brown. Big Urban Newspaper. 2005. 
  • Smith; Jones; Brown; Black. Smith, Jones, Brown and Black's Paper. Important Journal. 2005. 

第二種情況

In-text templates
模板 別名 示例
{Harvard citation no brackets} {harvnb} Smith 2006,第25頁
{Harvard citation} {harv} (Smith 2006,第25頁)
{Harvard citation text} {harvtxt} Smith (2006,第25頁)
{Harvcoltxt} Smith (2006:25頁)
{Harvcol} (Smith 2006,第25頁)
{Harvcolnb} Smith 2006:25
{Harvard citations} ({harvs}) John Smith (2006, 2007 (and many other forms).
{Shortened footnote template} {sfn} Article text.[1]
  1. ^ Smith 2006,第25頁.
{Sfnp} Article text.[1]
  1. ^ Smith (2006),第25頁.
{Sfnm} Article text.[1]
  1. ^ Smith, Jones & Brown 2005,第15頁; Smith 2006,第50頁.

應用

第一種用法

原模板:{harv}

代码 效果
Article text {harv|Smith|2006|p=25}.

== References ==
* {cite book
 |ref = harv
 |last = Smith |first = John
 |title = Smith's book
 |year = 2006
}

Article text (Smith 2006,第25頁).

References
  • Smith, John. Smith's book. 2006. 

第二種用法

原模板: {sfn}或{harvnb}

代码 效果
Article text.{sfn|Smith|2007|p=25}
More article text.{sfn|Smith|2007|p=25}
Still more article text.{sfn|Smith|2007|p=26}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite book
 |ref = harv
 |last = Smith |first = John
 |year = 2007
 |title = Smith's Book
}

Article text.[1] More article text.[1] Still more article text.[2]

参考文献
引用
  1. ^ 1.0 1.1 Smith 2007,第25頁.
  2. ^ Smith 2007,第26頁.
书目
  • Smith, John. Smith's Book. 2007. 
Article text.<ref name=Smith2008p25>{harvnb|Smith|2008|p=25}.</ref>
More article text.<ref name=Smith2008p25/>
Still more article text.<ref>{harvnb|Smith|2008|p=26}.</ref>

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite book
 |ref = harv
 |last = Smith |first = John
 |year = 2008
 |title = Smith's Book
}

Article text.[1] More article text.[1] Still more article text.[2]


参考文献
引用
  1. ^ 1.0 1.1 Smith 2008,第25頁.
  2. ^ Smith 2008,第26頁.
书目
  • Smith, John. Smith's Book. 2008. 

第三種用法

原模板: {harvtxt}

代码 效果
According to {harvtxt|Smith|2009|p=25} ...

== References ==
* {citation
 |last = Smith |first = John
 |year = 2009
 |title = Smith's Book
}

According to Smith (2009,第25頁) ...

References
  • Smith, John, Smith's Book, 2009 

第四種用法

原模板:{harvnb}或{sfnm}

代码 效果
Article text ({harvnb|Smith|2010|p=25}; {harvnb|Jones|2010}).

Article text (Smith 2010,第25頁; Jones 2010).

Article text.<ref>{harvnb|Smith|2010|p=25}; {harvnb|Jones|2010}</ref>

== References ==
=== Citations ===
<references />

=== Bibliography ===
* {cite book |last = Smith ... Smith's book }
* {cite book |last = Jones ... Jones' book }

Article text.[1]

References
Citaions
  1. ^ Smith 2010,第25頁; Jones 2010
Bibliography
  • Smith, John. Smith's book. 2010. 
  • Jones, Mary. Jones' book. 2010. 
Article text.{sfnm|la1=Smith|y1=2010|p1=25|la2=Jones|y2=2010}

== References ==
=== Citations ===
<references />

=== Bibliography ===
* {cite book |last = Smith ... Smith's book }
* {cite book |last = Jones ... Jones' book }

Article text.[1]

References
Citations
  1. ^ Smith 2010,第25頁; Jones 2010
Bibliography
  • Smith, John. Smith's book. 2010. 
  • Jones, Mary. Jones' book. 2010. 

第五種用法

原模板:{harvid}或{harvs}

代码 效果
The theory was developed by {harvs|txt|first=F. J.|last=Murray|author1-link=F. J. Murray|first2=J.|last2=von Neumann|author2-link=John von Neumann|year=1936|year2=1937|year3=1943}.

The theory was developed by F. J. Murray and J. von Neumann (1936, 1937, 1943.

The theory was developed by [[F. J. Murray]] and [[John von Neumann|J. von Neumann]] ([[#{harvid|Murray|von Neumann|1936}|1936]],[[#{harvid|Murray|von Neumann|1937}|1937]],[[#{harvid|Murray|von Neumann|1943}|1943]]).

The theory was developed by F. J. Murray and J. von Neumann (1936, 1937, 1943).

== References ==
* {citation |last1=Murray |year = 1936 |...}
* {citation |last1=Murray |year = 1937 |...}
* {citation |last1=Murray |year = 1943 |...}
References
  • Murray, F. J.; von Neumann, John, Mathematics Paper, 1936 
  • Murray, F. J.; von Neumann, John, Another Mathematics Paper, 1937 
  • Murray, F. J.; von Neumann, John, Yet Another Mathematics Paper, 1943 

衍生模板

第一種

原模板:{harvcol}, {harvcolnb},{harvcoltxt}

代码 效果
{harvcol|Smith|2011|p=25}

(Smith 2011,第25頁)

{harvcolnb|Smith|2011|p=25}
{harvcoltxt|Smith|2011|p=25}

Smith (2011:25頁)

{harvcol|Smith|2011|p=25–26}

(Smith 2011,第25–26頁)

{harvcol|Smith|2011|loc=chpt. 3}

(Smith 2011,第chpt. 3頁)

第二種

原模板:{sfnp}

代码 效果
Article text.{sfnp|Smith|2011}
=== Citations ===
{Reflist}

Article text.[1]

Citations
Article text.{sfn|Smith|2011}
=== Citations ===
{Reflist}

Article text.[1]

Citations

第三種

代码 效果
Some information.{sfn|Smith|2011|p=2|ps=: "A quote verifying the information."}
=== Citations ===
{Reflist}

Some information.[1]

Citations
  1. ^ Smith 2011,第2頁: "A quote verifying the information."
"A quote in a secondary source."{sfn|Smith|2011|p=2|ps=, quoted in {harvtxt|Jones|2010|p=343}
=== Citations ===
{Reflist}

"A quote in a secondary source."[1]

Citations
  1. ^ Smith 2011,第2頁, quoted in Jones (2010,第343頁)
Some information.<ref>{harvnb|Smith|2011|p=2}: "A quote verifying the information."</ref>
=== Citations ===
{Reflist}

Some information.[1]

Citations
  1. ^ Smith 2011,第2頁: "A quote verifying the information."

第四種

代码 效果
Article text.{sfn|Smith|2011|ps=}
=== Citations ===
{Reflist}

Article text.[1]

Citations
Article text.{sfn|Smith|2011}
=== Citations ===
{Reflist}

Article text.[1]

Citations

第五種

代码 效果
{harv|Smith|2011|loc=[http://en.wikipedia.org chpt 3]}
{harv|Smith|2011|loc=[http://en.wikipedia.org &sect;7]}
Article text.{sfn|Smith|2011|p=[http://en.wikipedia.org 3]}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite book |last = Smith |year = 2011 |title = Smith's
other book }

Article text.[1]

参考文献
引用
  1. ^ Smith 2011,第3頁.
书目
  • Smith. Smith's other book. 2011. 

複雜方法

不止一個作者的情況

代码 效果
Article text.{sfn |Smith|1993a|p=25}
More text.{sfn |Smith|1993b|p=32}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite journal
|last = Smith |first = Karen
|year = 1993a
|title = Smith's first paper
|journal= Important Journal
|ref = harv
}
* {cite journal
|last = Smith |first = Karen
|year = 1993b
|title = Smith's second paper
|journal = Another Important Journal
|ref = harv
}

Article text.[1] More text.[2]

参考文献
引用
  1. ^ Smith 1993a,第25頁.
  2. ^ Smith 1993b,第32頁.
书目
  • Smith, Karen. Smith's first paper. Important Journal. 1993a. 
  • Smith, Karen. Smith's second paper. Another Important Journal. 1993b. 

有大量作者的情況

代码 效果
Article text
{harv |Smith|Jones|Brown|Black|1994|p=25}.

== References ==
* {cite journal
|last = Smith
|last2 = Jones
|last3 = Brown
|last4 = Black
|last5 = Davis
|last6 = Martinez
|last7 = Hsu
|year= 1994
|title= Scientific paper written by
dozens of scientists
|journal = Important Journal
|ref = harv
}

Article text (Smith et al. 1994,第25頁).

References
  • Smith; Jones; Brown; Black; Davis; Martinez; Hsu. Scientific paper written by dozens of scientists. Important Journal. 1994. 
Article text {harv |Smith et al.|1995|p=25}.

== References ==
* {cite journal
|last = Smith
|last2 = Jones
|last3 = Brown
|last4 = Black
|last5 = Davis
|last6 = Martinez
|last7 = Hsu
|year= 1995
|title= Another paper by even more scientists
|journal = Important Journal
|ref = {harvid|Smith et al.|1995}
}

Article text (Smith et al. 1995,第25頁).

References
  • Smith; Jones; Brown; Black; Davis; Martinez; Hsu. Another paper by even more scientists. Important Journal. 1995. 

沒有作者只有作品的情況

代码 效果
Article text.{sfn |BGI|1996|p=429}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite book
|title = Important Book
|year = 1996
|publisher = Big Government Institution
|ref = {harvid|BGI|1996}
}

Article text.[1]

参考文献
引用
  1. ^ BGI 1996,第429頁.
书目
  • Important Book. Big Government Institution. 1996. 
Article text.{sfn |Popular Magazine|1996|p=29}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite magazine
|magazine = Popular Magazine
|title = An Article by an Anonymous Author
|year = 1996
|ref = {harvid|Popular Magazine|1996}
}

Article text.[1]

参考文献
引用
  1. ^ Popular Magazine 1996,第29頁.
书目
  • An Article by an Anonymous Author. Popular Magazine. 1996. 

有日期的情況

代码 效果
Article text.{sfn|Smith|1997|p=101}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite journal
|last = Smith |first = Karen
|date = 11 May 1997
|title = Smith's 1997 paper
|journal= Important Journal
|ref = harv
}

Article text.[1]

参考文献
引用
  1. ^ Smith 1997,第101頁.
书目
  • Smith, Karen. Smith's 1997 paper. Important Journal. 11 May 1997. 
Article text.{sfn|Smith|1998|p=101}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite journal
|last = Smith |first = Karen
|date = May 1998
|title = Smith's 1998 paper
|journal= Important Journal
|ref = harv
}

Article text.[1]

参考文献
引用
  1. ^ Smith 1998,第101頁.
书目
  • Smith, Karen. Smith's 1998 paper. Important Journal. May 1998. 

沒有年份或日期的情況

代码 效果
Article text.{cfn|Smith|p=101}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite book |last=Smith |first=Karen |title=Smith's 1999 Book |ref={Harvid|Smith} }

Article text.[1]

参考文献
引用
  1. ^ Smith,第101页
书目
  • Smith, Karen. Smith's 1999 Book. 

其他情況之一

代码 效果
Article text.{sfn|Smith|1999|p=101}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite book
|last = Smith |first = Karen
|year = 1999
|title = Smith's 1999 Book
|harvid = Smith1999
}

Article text.[1]

参考文献
引用
  1. ^ Smith 1999,第101頁.
书目
  • Smith's 1999 Book. 1999.
Article text.{sfn|Smith|2000|p=101}

== References ==
=== Citations ===
{Reflist}

=== Bibliography ===
* {cite thesis
|last = Smith |first = Karen
|date = May 2000
|title = Smith's Thesis
|ref = {harvid|Smith|2000}
}

Article text.[1]

参考文献
引用
  1. ^ Smith 2000,第101頁.
书目
  • Smith, Karen. Smith's Thesis (学位论文). May 2000. 

推薦使用形式

代码 效果
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}).

== References ==
* {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 = Königlich Preussische Akademie der Wissenschaften
 |pages = 844–847
 |year = 1915
}

Some works on gravitation are so massive they warp spacetime themselves (Misner, Thorne & Wheeler 1973); yet Einstein (1915) presented essential equations with notable brevity. The two ingredients are the curvature tensor and the stress-energy tensor (Einstein 1915,p. 844; Misner, Thorne & Wheeler 1973,p. 41).

References
  • Misner, Charles W.; Thorne, Kip S.; Wheeler, John Archibald, Gravitation, San Francisco: W. H. Freeman, September 1973, ISBN 0-7167-0344-0 
  • Einstein, Albert, Die Feldgleichungen der Gravitation (The Field Equations of Gravitation), Königlich Preussische Akademie der Wissenschaften, 1915: 844–847