Jump to content

Template:Acad/testcases

From Wikipedia, the free encyclopedia

Testing sandbox version

[edit]

Prior to adding quotes to the ID portion of the url, this cite produced two results from the ACAD database

  • {{acad|id=M661J|name=Mason, John}}
  • Original url (without quotes): http://venn.lib.cam.ac.uk/cgi-bin/search.pl?sur=&suro=c&fir=&firo=c&cit=&cito=c&c=all&tex=M661J&sye=&eye=&col=all&maxcount=50
  • "Mason, John (M661J)". A Cambridge Alumni Database. University of Cambridge. – sandbox version (with quotes)

Test error detection:

  • {{Acad/sandbox|id=MLN900AA}}
  • "(MLN900AA)". A Cambridge Alumni Database. University of Cambridge. missing name.
  • {{Acad/sandbox|MLN900AA}}
  • "(MLN900AA)". A Cambridge Alumni Database. University of Cambridge. missing name.
  • {{Acad/sandbox|name=Milne, Alan Alexander}}
  • "Milne, Alan Alexander". A Cambridge Alumni Database. University of Cambridge. missing id.

Hide error messages:

Using named parameters:

Using positional parameters:

Using |ref=harv (not recommended):

Test missing parameter error categorization; should not categorize into Category:ACAD citations missing parameters when used in non-article namespace:

  • '"`UNIQ--templatestyles-00000028-QINU`"'<cite id="CITEREFACADRSL890BA" class="citation encyclopaedia cs1">[http://venn.lib.cam.ac.uk/cgi-bin/search-2016.pl?sur=&suro=w&fir=&firo=c&cit=&cito=c&c=all&z=all&tex=RSL890BA&sye=&eye=&col=all&maxcount=50 "(RSL890BA)"]. ''A Cambridge Alumni Database''. University of Cambridge.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=%28RSL890BA%29&rft.btitle=A+Cambridge+Alumni+Database&rft.pub=University+of+Cambridge&rft_id=http%3A%2F%2Fvenn.lib.cam.ac.uk%2Fcgi-bin%2Fsearch-2016.pl%3Fsur%3D%26suro%3Dw%26fir%3D%26firo%3Dc%26cit%3D%26cito%3Dc%26c%3Dall%26z%3Dall%26tex%3DRSL890BA%26sye%3D%26eye%3D%26col%3Dall%26maxcount%3D50&rfr_id=info%3Asid%2Fen.wikipedia.org%3ATemplate%3AAcad%2Ftestcases" class="Z3988"></span>&#32;<span style="font-size:100%" class="error citation-comment">missing <code>name</code>.</span>

Testing main template

[edit]