Template:Sfnm/sandbox
外观
这是Template:Sfnm(差异)的沙盒。 参见本模板的测试样例。 |
此模板使用Lua语言: |
{{Sfn}}和{{Sfnm}}是同一種模板,它們的區別是:{{Sfnm}}支持多個參考文獻的使用。
示例
[编辑]代碼
[编辑]- 代碼:
{{Sfnm|1a1=Smith|1a2=Jones|1a3=Johnson|1y=2005|1p=15|2a1=Jones|2a2=Johnson|2a3=Smith|2y=2004|2p=50}}
- 結果:[1]
|na1=
(e.g.,|1a1=
or|4a1=
) through|na5=
– authors of the work cited|ny=
– year|nloc=
– location cited|np=
– page cited|npp=
– pages cited
- 代碼:
{{Sfnm|Smith|2005|1p=15|Jones|2004|2p=2}}
- 結果:[2]
参考文献
[编辑]- ^ Smith, Jones & Johnson 2005,第15頁; Jones, Johnson & Smith 2004,第50頁.
- ^ Smith 2005,第15頁; Jones 2004,第2頁.
參考書目
[编辑]- Jones, John. My Journal Article. Journal of Important Studies. 2004, 509: 14–1033.
- Jones, John; Johnson, John; Smith, John. Our First Book. 2004.
- Smith, John. Another Journal Article. Journal of Important Studies. 2005, 510: 13–1034.
- Smith, John; Jones, John; Johnson, John. Our Second Book. 2005.