Template:Sfnlink/testcases
![]() | This is the template test cases page for the sandbox of Template:Sfnlink. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Without optional params
[edit]{{Sfnlink|Doe|Jones|de Haro|Anderson|2011}}
{{Sfnlink}}
Doe, Jones, de Haro, & Anderson (2011)
{{Sfnlink/sandbox}}
{{Sfnlink|Doe|Jones|de Haro|Anderson|Qiyang|2015}}
{{Sfnlink}}
Doe, Jones, de Haro, & Anderson (Qiyang)
{{Sfnlink/sandbox}}
With optional page params
[edit]{{Sfnlink|Doe|1999|pp=12–14}}
{{Sfnlink}}
Doe (1999) pp. 12–14
{{Sfnlink/sandbox}}
Doe (1999) pp. 12–14
{{Sfnlink|Doe|1999|pages=93–97}}
{{Sfnlink}}
Doe (1999) pp. 93–97
{{Sfnlink/sandbox}}
Doe (1999) pp. 93–97
{{Sfnlink|Doe|1999|nb=yes |pages=53–56}}
{{Sfnlink}}
Doe 1999 pp. 53–56
{{Sfnlink/sandbox}}
Doe 1999 pp. 53–56
{{Sfnlink|Doe|Jones|2003|p=282}}
{{Sfnlink}}
Doe & Jones (2003) p. 282
{{Sfnlink/sandbox}}
Doe & Jones (2003) p. 282
{{Sfnlink|Doe|Jones|2003|pp=282–284}}
{{Sfnlink}}
Doe & Jones (2003) pp. 282–284
{{Sfnlink/sandbox}}
Doe & Jones (2003) pp. 282–284
{{Sfnlink|Doe|Jones|2003|page=293}}
{{Sfnlink}}
Doe & Jones (2003) p. 293
{{Sfnlink/sandbox}}
Doe & Jones (2003) p. 293
{{Sfnlink|Doe|Jones|2003|pages=293–297}}
{{Sfnlink}}
Doe & Jones (2003) pp. 293–297
{{Sfnlink/sandbox}}
Doe & Jones (2003) pp. 293–297
{{Sfnlink|Doe|Jones|2003|nb=1 |pages=115–117}}
{{Sfnlink}}
Doe & Jones 2003 pp. 115–117
{{Sfnlink/sandbox}}
Doe & Jones 2003 pp. 115–117
{{Sfnlink|Doe|Jones|de Haro|2007|pages=393–397}}
{{Sfnlink}}
Doe, Jones, & de Haro (2007) pp. 393–397
{{Sfnlink/sandbox}}
Doe, Jones, & de Haro (2007) pp. 393–397
{{Sfnlink|Doe|Jones|de Haro|2007|nb=true |pages=193–197}}
{{Sfnlink}}
Doe, Jones, & de Haro 2007 pp. 193–197
{{Sfnlink/sandbox}}
Doe, Jones, & de Haro 2007 pp. 193–197
{{Sfnlink|Doe|Jones|de Haro|Anderson|2011|p=442}}
{{Sfnlink}}
Doe, Jones, de Haro, & Anderson (2011) p. 442
{{Sfnlink/sandbox}}
{{Sfnlink|Doe|Jones|de Haro|Anderson|2011|pp=442–445}}
{{Sfnlink}}
Doe, Jones, de Haro, & Anderson (2011) pp. 442–445
{{Sfnlink/sandbox}}
Doe, Jones, de Haro, & Anderson (2011) pp. 442–445
{{Sfnlink|Doe|Jones|de Haro|Anderson|2011|page=442}}
{{Sfnlink}}
Doe, Jones, de Haro, & Anderson (2011) p. 442
{{Sfnlink/sandbox}}
{{Sfnlink|Doe|Jones|de Haro|Anderson|2011|nb=YES |pages=224–225}}
{{Sfnlink}}
Doe, Jones, de Haro, & Anderson 2011 pp. 224–225
{{Sfnlink/sandbox}}
Doe, Jones, de Haro, & Anderson 2011 pp. 224–225
{{Sfnlink|Doe|Jones|de Haro|Anderson|2011|nb=yeah |pages=448–449}}
{{Sfnlink}}
Doe, Jones, de Haro, & Anderson 2011 pp. 448–449
{{Sfnlink/sandbox}}
Doe, Jones, de Haro, & Anderson 2011 pp. 448–449
With optional param 'text'
[edit]{{Sfnlink|Roe|Bones|da Silva|Andreeson|2003|text=Roe, Bones, da Silva etc. p. 454}}
{{Sfnlink}}
Roe, Bones, da Silva etc. p. 454
{{Sfnlink/sandbox}}
{{Sfnlink|Roe|Bones|da Silva|Andreeson|2003|nb=Y |text=Roe, Bones, da Silva etc. p. 254}}
{{Sfnlink}}
Roe, Bones, da Silva etc. p. 254
{{Sfnlink/sandbox}}
{{Sfnlink|Roe|Bones|da Silva|Andreeson|Qiaoying|2021|text=Roe et al. vol. 2; chap. 7 "Revolution", pp. 19–23}}
{{Sfnlink}}
Roe et al. vol. 2; chap. 7 "Revolution", pp. 19–23
{{Sfnlink/sandbox}}
With optional 'text' and page params
[edit]{{Sfnlink|Roe|1989|p=32 |text=Roe, 1989. 2nd ed.}}
{{Sfnlink}}
Roe, 1989. 2nd ed. p. 32
{{Sfnlink/sandbox}}
Roe, 1989. 2nd ed. p. 32
{{Sfnlink|Roe|Bones|1992|pp=32–35 |text=Roe, Bones, et al. (1992)}}
{{Sfnlink}}
Roe, Bones, et al. (1992) pp. 32–35
{{Sfnlink/sandbox}}
Roe, Bones, et al. (1992) pp. 32–35
{{Sfnlink|Roe|Bones|1992|nb=T |pp=52–55 |text=Roe, Bones, et al. (1992)}}
{{Sfnlink}}
Roe, Bones, et al. (1992) pp. 52–55
{{Sfnlink/sandbox}}
Roe, Bones, et al. (1992) pp. 52–55
{{Sfnlink|Roe|Bones|da Silva|1997|pages=114–117 |text=Roe 1997.}}
{{Sfnlink}}
Roe 1997. pp. 114–117
{{Sfnlink/sandbox}}
Roe 1997. pp. 114–117
{{Sfnlink|Roe|Bones|da Silva|1997|nb=true |pages=214–217 |text=Roe 1997.}}
{{Sfnlink}}
Roe 1997. pp. 214–217
{{Sfnlink/sandbox}}
Roe 1997. pp. 214–217
{{Sfnlink|Roe|Bones|da Silva|Andreeson|2003|page=454 |text=Roe, Bones, da Silva etc.}}
{{Sfnlink}}
Roe, Bones, da Silva etc. p. 454
{{Sfnlink/sandbox}}
Roe, Bones, da Silva etc. p. 454
{{Sfnlink|Roe|Bones|da Silva|Andreeson|Qiaoying|2021|pp=19–23 |text=Roe et al. vol. 2; chap. 7 "Revolution"}}
{{Sfnlink}}
Roe et al. vol. 2; chap. 7 "Revolution" pp. 19–23
{{Sfnlink/sandbox}}
Roe et al. vol. 2; chap. 7 "Revolution" pp. 19–23
With optional param 'loc'
[edit]{{Sfnlink|Doe|1999|loc=Foreword}}
{{Sfnlink}}
Doe (1999) Foreword
{{Sfnlink/sandbox}}
Doe (1999) Foreword
{{Sfnlink|Doe|Jones|2003|loc=jacket blurb}}
{{Sfnlink}}
Doe & Jones (2003) jacket blurb
{{Sfnlink/sandbox}}
Doe & Jones (2003) jacket blurb
{{Sfnlink|Roe|1989|loc=footnote 83 |p=32}}
{{Sfnlink}}
Roe (1989) p. 32, footnote 83
{{Sfnlink/sandbox}}
Roe (1989) p. 32, footnote 83
{{Sfnlink|Roe|1989|loc=footnote 83 |nb=yes |p=32}}
{{Sfnlink}}
Roe 1989 p. 32, footnote 83
{{Sfnlink/sandbox}}
Roe 1989 p. 32, footnote 83
{{Sfnlink|Roe|1989|loc=footnote 83 |p=32}}
{{Sfnlink}}
Roe (1989) p. 32, footnote 83
{{Sfnlink/sandbox}}
Roe (1989) p. 32, footnote 83
{{Sfnlink|Roe|1989|loc=Appendix D |pp=159–162 |text=Roe, 1989. 2nd ed.}}
{{Sfnlink}}
Roe, 1989. 2nd ed. pp. 159–162, Appendix D
{{Sfnlink/sandbox}}
Roe, 1989. 2nd ed. pp. 159–162, Appendix D
With optional param 'article'
[edit]{{Sfnlink|Calaprice|Kennefick|Schulmann|2015|article=Albert Einstein}}
{{Sfnlink}}
Calaprice, Kennefick, & Schulmann (2015)
{{Sfnlink/sandbox}}
With optional params 'lang' and 'article'
[edit]{{Sfnlink|Briselance|Morin|2010|article=Cinéma |lang=fr |p=16}}
{{Sfnlink}}
Briselance & Morin (2010) p. 16
{{Sfnlink/sandbox}}
{{Sfnlink|Briselance|Morin|2010|article=Cinéma |lang=fr |nb=yes |p=16}}
{{Sfnlink}}
Briselance & Morin 2010 p. 16
{{Sfnlink/sandbox}}
Briselance & Morin 2010 p. 16
{{Sfnlink|Boatwright|2000|article=Imperio romano |lang=es |p=4}}
{{Sfnlink}}
Boatwright (2000) p. 4
{{Sfnlink/sandbox}}
Boatwright (2000) p. 4
{{Sfnlink|Klaaß|2009|article=Salzburg |lang=de |p=38}}
{{Sfnlink}}
[[:de:Salzburg#ERROR: de-wiki does not support sfn linkageKlaaß2009|Klaaß (2009)]] p. 38
{{Sfnlink/sandbox}}
[[:de:Salzburg#ERROR: de-wiki does not support sfn linkageKlaaß2009|Klaaß (2009)]] p. 38
With optional params 'lang', 'rev', and 'article'
[edit]{{Sfnlink|Helfman|1997|article=Peixos |lang=ca |p=30 |rev=8823037}}
{{Sfnlink}}
Helfman (1997) p. 30
{{Sfnlink/sandbox}}
Helfman (1997) p. 30
{{Sfnlink|Helfman|1997|lang=ca |p=30 |rev=8823037}}
{{Sfnlink}}
Helfman (1997) p. 30
{{Sfnlink/sandbox}}
Helfman (1997) p. 30
{{Sfnlink|Helfman|1997|lang=ca |nb=y |p=30 |rev=8823037}}
{{Sfnlink}}
Helfman 1997 p. 30
{{Sfnlink/sandbox}}
Helfman 1997 p. 30
With asterisk shortcut for optional param 'article'
[edit]These test cases have special execution instructions
|
---|
Live: * {{sfnlink|Prophet|2018|article=Hermeticism}} * {{sfnlink|Prophet|2018|article=*}} Sandbox: * {{sfnlink/sandbox|Prophet|2018|article=Hermeticism}} * {{sfnlink/sandbox|Prophet|2018|article=*}} Cancel out when done. Expected result: All four link to Hermeticism#CITEREFProphet2018. |
With optional param 'rev'
[edit]{{Sfnlink|Ousby|2000|p=218 |rev=889229441}}
{{Sfnlink}}
This points to old rev 889229441 of Jean-Paul Sartre, from March 2019:
Ousby (2000) p. 218
{{Sfnlink/sandbox}}
This points to old rev 889229441 of Jean-Paul Sartre, from March 2019:
Ousby (2000) p. 218
{{Sfnlink|Ousby|2000|nb=yes |p=218 |rev=889229441}}
{{Sfnlink}}
This points to old rev 889229441 of Jean-Paul Sartre, from March 2019:
Ousby 2000 p. 218
{{Sfnlink/sandbox}}
This points to old rev 889229441 of Jean-Paul Sartre, from March 2019:
Ousby 2000 p. 218
{{Sfnlink|Ousby|2000|article=Jean-Paul Sartre |p=218 |rev=889229441}}
{{Sfnlink}}
This points to the same rev 889229441 as above; param 'article' is ignored when 'rev' is present:
Ousby (2000) p. 218
{{Sfnlink/sandbox}}
This points to the same rev 889229441 as above; param 'article' is ignored when 'rev' is present:
Ousby (2000) p. 218
{{Sfnlink|Ousby|2000|p=218 |rev=889229441 |text=Ousby (2000) [rev. 889229441]}}
{{Sfnlink}}
This points to the same old rev 889229441 and uses param |text=
to alter the display text of the link:
Ousby (2000) [rev. 889229441] p. 218
{{Sfnlink/sandbox}}
This points to the same old rev 889229441 and uses param |text=
to alter the display text of the link:
Ousby (2000) [rev. 889229441] p. 218
Works cited
[edit]Citations to provide destinations for the test cases on this page.
|
---|
|