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