模板:Harvard citation
本模板含有复杂而精密的扩展语法。 编辑本模板前,建议您先熟悉解析器函数与本模板的设计思路、运作原理等。若您的编辑引发了意外的问题,请尽快撤销编辑,因为本模板可能被大量页面使用。 您所作的编辑可先在本模板的沙盒或您的个人页面中进行测试。 |
此模板使用Lua语言: |
说明
本模板可以容纳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
|
第二种情况
模板 | 别名 | 示例 |
---|---|---|
{{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]
|
{{Sfnp}} | Article text.[1]
| |
{{Sfnm}} | Article text.[1]
|
应用
第一种用法
原模板:{{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.{{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] 参考文献
引用
书目
|
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]
参考文献
引用
书目
|
第三种用法
原模板: {{harvtxt}}
代码 | 效果 |
---|---|
According to {{harvtxt|Smith|2009|p=25}} ... == References == * {{citation |last = Smith |first = John |year = 2009 |title = Smith's Book }} |
|
第四种用法
代码 | 效果 |
---|---|
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
Bibliography
|
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
Bibliography
|
第五种用法
代码 | 效果 |
---|---|
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
|
衍生模板
第一种
原模板:{{harvcol}}, {{harvcolnb}},{{harvcoltxt}}
代码 | 效果 |
---|---|
{{harvcol|Smith|2011|p=25}} |
(Smith 2011,第25页) |
{{harvcolnb|Smith|2011|p=25}} |
Smith 2011: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.{{sfn|Smith|2011}} === Citations === {{Reflist}} |
|
第三种
代码 | 效果 |
---|---|
Some information.{{sfn|Smith|2011|p=2|ps=: "A quote verifying the information."}} === Citations === {{Reflist}} |
|
"A quote in a secondary source."{{sfn|Smith|2011|p=2|ps=, quoted in {{harvtxt|Jones|2010|p=343}}}} === Citations === {{Reflist}} |
|
Some information.<ref>{{harvnb|Smith|2011|p=2}}: "A quote verifying the information."</ref> === Citations === {{Reflist}} |
|
第四种
代码 | 效果 |
---|---|
Article text.{{sfn|Smith|2011|ps=}} === Citations === {{Reflist}} |
|
Article text.{{sfn|Smith|2011}} === Citations === {{Reflist}} |
|
第五种
代码 | 效果 |
---|---|
{{harv|Smith|2011|loc=[http://en.wiki.x.io chpt 3]}} |
|
{{harv|Smith|2011|loc=[http://en.wiki.x.io §7]}} |
(Smith 2011,§7) |
Article text.{{sfn|Smith|2011|p=[http://en.wiki.x.io 3]}} == References == === Citations === {{Reflist}} === Bibliography === * {{cite book |last = Smith |year = 2011 |title = Smith's other book }} |
|
复杂方法
不止一个作者的情况
代码 | 效果 |
---|---|
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] 参考文献
引用
书目
|
有大量作者的情况
代码 | 效果 |
---|---|
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
|
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
|
没有作者只有作品的情况
代码 | 效果 |
---|---|
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.{{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] 参考文献
引用
书目
|
有日期的情况
代码 | 效果 |
---|---|
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] 参考文献
引用
书目
|
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] 参考文献
引用
书目
|
没有年份或日期的情况
代码 | 效果 |
---|---|
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.{{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.{{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}} }} |
|
推荐使用形式
代码 | 效果 |
---|---|
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. 844}}; {{Harvnb|Misner|Thorne|Wheeler|1973|loc=p. 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
|