模板: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
|