模組:Footnotes/testcases/doc
外觀
此頁面為 模組:Footnotes/testcases 的說明文件
All tests passed.
| Text | Expected | Actual | |
|---|---|---|---|
| {{harvard citation|}} | ([[#CITEREF|]]) | ([[#CITEREF|]]) | |
| {{harvard citation|Smith | 2004}} | (Smith 2004) | (Smith 2004) | |
| {{harvard citation|Smith | Jones | 2004}} | (Smith & Jones 2004) | (Smith & Jones 2004) | |
| {{harvard citation|Smith | Jones | Brown | 2004}} | (Smith, Jones & Brown 2004) | (Smith, Jones & Brown 2004) | |
| {{harvard citation|Smith | Jones | Brown | Taylor | 2004}} | (Smith et al. 2004) | (Smith et al. 2004) | |
| {{harvard citation|Smith | Jones | Brown | Taylor | King | 2004}} | (Smith et al.) | (Smith et al.) | |
| {{harvard citation|Smith | Jones | 2004 | p=45}} | (Smith & Jones 2004, p. 45) | (Smith & Jones 2004, p. 45) | |
| {{harvard citation|Smith | Jones | 2004 | page=45}} | (Smith & Jones 2004, p. 45) | (Smith & Jones 2004, p. 45) | |
| {{harvard citation|Smith | Jones | 2004 | p=45 | page =46}} | (Smith & Jones 2004, p. 45) | (Smith & Jones 2004, p. 45) | |
| {{harvard citation|Smith | Jones | 2004 | pp=23-57}} | (Smith & Jones 2004, pp. 23-57) | (Smith & Jones 2004, pp. 23-57) | |
| {{harvard citation|Smith|2006| pp=25–26 | Ref=none}} | (Smith 2006, pp. 25–26) | (Smith 2006, pp. 25–26) | |
| {{harvard citation|Smith | Jones | 2004 | pages=45-78}} | (Smith & Jones 2004, pp. 45-78) | (Smith & Jones 2004, pp. 45-78) | |
| {{harvard citation|Smith | Jones | 2004 | pp=23-57 | pages=45-78}} | (Smith & Jones 2004, pp. 23-57) | (Smith & Jones 2004, pp. 23-57) | |
| {{harvard citation|Smith | Jones | 2004 | pp=23-57 | loc=45-78}} | (Smith & Jones 2004, pp. 23-57, 45-78) | (Smith & Jones 2004, pp. 23-57, 45-78) | |
| {{harvard citation|Smith | Jones | 2004 | p=23 | loc=45-78}} | (Smith & Jones 2004, p. 23, 45-78) | (Smith & Jones 2004, p. 23, 45-78) | |
| {{harvard citation|Smith | Jones | 2004 | p=23 | page=45 | pp=23-57 | pages=45-78| location=145-178}} | (Smith & Jones 2004, p. 23) | (Smith & Jones 2004, p. 23) | |
| {{harvard citation|Smith | Jones | 2004 | loc=Chapter 2}} | (Smith & Jones 2004, Chapter 2) | (Smith & Jones 2004, Chapter 2) | |
| {{harvard citation|Smith | Jones | Brown | 2004 | ref = none}} | (Smith, Jones & Brown 2004) | (Smith, Jones & Brown 2004) | |
| {{harvard citation|Smith | Jones | Brown | 2004 | ref = Cream cheese}} | (Smith, Jones & Brown 2004) | (Smith, Jones & Brown 2004) | |
| {{harvard citation| Smith|2011|loc=[http://en.wikipedia.org chpt 3]}} | (Smith 2011, chpt 3) | (Smith 2011, chpt 3) | |
| {{harvard citation| 中国 | चीन | 2004}} | (中国 & चीन 2004) | (中国 & चीन 2004) | |
| {{harvard citation| aiguë | Dütschlünd | 2004}} | (aiguë & Dütschlünd 2004) | (aiguë & Dütschlünd 2004) |
| Text | Expected | Actual |
|---|
| Text | Expected | Actual | |
|---|---|---|---|
| {{harvard citation no brackets|}} | [[#CITEREF|]] | [[#CITEREF|]] | |
| {{harvard citation no brackets|Smith | 2004}} | Smith 2004 | Smith 2004 | |
| {{harvard citation no brackets|Smith | Jones | 2004}} | Smith & Jones 2004 | Smith & Jones 2004 | |
| {{harvard citation no brackets|Smith | Jones | Brown | 2004}} | Smith, Jones & Brown 2004 | Smith, Jones & Brown 2004 | |
| {{harvard citation no brackets|Smith | Jones | Brown | Taylor | 2004}} | Smith et al. 2004 | Smith et al. 2004 | |
| {{harvard citation no brackets|Smith | Jones | Brown | Taylor | King | 2004}} | Smith et al. | Smith et al. | |
| {{harvard citation no brackets|Smith | Jones | 2004 | p=45}} | Smith & Jones 2004, p. 45 | Smith & Jones 2004, p. 45 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | page=45}} | Smith & Jones 2004, p. 45 | Smith & Jones 2004, p. 45 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | p=45 | page =46}} | Smith & Jones 2004, p. 45 | Smith & Jones 2004, p. 45 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | pp=23-57}} | Smith & Jones 2004, pp. 23-57 | Smith & Jones 2004, pp. 23-57 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | pages=45-78}} | Smith & Jones 2004, pp. 45-78 | Smith & Jones 2004, pp. 45-78 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | pp=23-57 | pages=45-78}} | Smith & Jones 2004, pp. 23-57 | Smith & Jones 2004, pp. 23-57 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | pp=23-57 | loc=45-78}} | Smith & Jones 2004, pp. 23-57, 45-78 | Smith & Jones 2004, pp. 23-57, 45-78 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | p=23 | loc=45-78}} | Smith & Jones 2004, p. 23, 45-78 | Smith & Jones 2004, p. 23, 45-78 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | p=23 | page=45 | pp=23-57 | pages=45-78| location=145-178}} | Smith & Jones 2004, p. 23 | Smith & Jones 2004, p. 23 | |
| {{harvard citation no brackets|Smith | Jones | 2004 | loc=Chapter 2}} | Smith & Jones 2004, Chapter 2 | Smith & Jones 2004, Chapter 2 | |
| {{harvard citation no brackets|Smith | Jones | Brown | 2004 | ref = none}} | Smith, Jones & Brown 2004 | Smith, Jones & Brown 2004 | |
| {{harvard citation no brackets|Smith | Jones | Brown | 2004 | ref = Cream cheese}} | Smith, Jones & Brown 2004 | Smith, Jones & Brown 2004 | |
| {{harvard citation no brackets| Smith|2011|loc=[http://en.wikipedia.org chpt 3]}} | Smith 2011, chpt 3 | Smith 2011, chpt 3 | |
| {{harvard citation no brackets| 中国 | चीन | 2004}} | 中国 & चीन 2004 | 中国 & चीन 2004 | |
| {{harvard citation no brackets| aiguë | Dütschlünd | 2004}} | aiguë & Dütschlünd 2004 | aiguë & Dütschlünd 2004 |
| Text | Expected | Actual | |
|---|---|---|---|
| {{sfn|}} | [1] | [1] | |
| {{sfn|Smith | 2004}} | [2] | [2] | |
| {{sfn|Smith | Jones | 2004}} | [3] | [3] | |
| {{sfn|Smith | Jones | Brown | 2004}} | [4] | [4] | |
| {{sfn|Smith | Jones | Brown | Taylor | 2004}} | [5] | [5] | |
| {{sfn|Smith | Jones | Brown | Taylor | King | 2004}} | [6] | [6] | |
| {{sfn|Smith | Jones | 2004 | p=45}} | [7] | [7] | |
| {{sfn|Smith | Jones | 2004 | page=45}} | [7] | [7] | |
| {{sfn|Smith | Jones | 2004 | p=45 | page =46}} | [7] | [7] | |
| {{sfn|Smith | Jones | 2004 | pp=23-57}} | [8] | [8] | |
| {{sfn|Smith | Jones | 2004 | pages=45-78}} | [9] | [9] | |
| {{sfn|Smith | Jones | 2004 | pp=23-57 | pages=45-78}} | [8] | [8] | |
| {{sfn|Smith | Jones | 2004 | pp=23-57 | loc=45-78}} | [10] | [10] | |
| {{sfn|Smith | Jones | 2004 | p=23 | loc=45-78}} | [11] | [11] | |
| {{sfn|Smith | Jones | 2004 | p=23 | page=45 | pp=23-57 | pages=45-78| location=145-178}} | [12] | [12] | |
| {{sfn|Smith | Jones | 2004 | loc=Chapter 2}} | [13] | [13] | |
| {{sfn|Smith | Jones | Brown | 2004 | ref = none}} | [4] | [4] | |
| {{sfn|Smith | Jones | Brown | 2004 | ref = Cream cheese}} | [4] | [4] | |
| {{sfn| Smith|2011|loc=[http://en.wikipedia.org chpt 3]}} | [14] | [14] | |
| {{sfn| 中国 | चीन | 2004}} | [15] | [15] | |
| {{sfn| aiguë | Dütschlünd | 2004}} | [16] | [16] |
- 1 2 [[#CITEREF|]].
- 1 2 Smith 2004.
- 1 2 Smith & Jones 2004.
- 1 2 3 4 5 6 Smith, Jones & Brown 2004. Īng-ê̤ṳng chó̤-nguô: 無效的
<ref>標籤;name屬性“FOOTNOTESmithJonesBrown2004”使用不同內容定義了多次 - 1 2 Smith et al. 2004.
- 1 2 Smith et al.
- 1 2 3 4 5 6 Smith & Jones 2004, p. 45.
- 1 2 3 4 Smith & Jones 2004, pp. 23-57.
- 1 2 Smith & Jones 2004, pp. 45-78.
- 1 2 Smith & Jones 2004, pp. 23-57, 45-78.
- 1 2 Smith & Jones 2004, p. 23, 45-78.
- 1 2 Smith & Jones 2004, p. 23.
- 1 2 Smith & Jones 2004, Chapter 2.
- 1 2 Smith 2011, chpt 3.
- 1 2 中国 & चीन 2004.
- 1 2 aiguë & Dütschlünd 2004.