Template:Acad/testcases

From blackwiki
< Template:Acad
Revision as of 20:50, 5 January 2014 by blackwiki>Trappist the monk (Update;)
Jump to navigation Jump to search

Testing sandbox version

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):

  • {{Acad/sandbox|MLN900AA|Milne, Alan Alexander|ref=harv}}
  • "Milne, Alan Alexander (MLN900AA)". A Cambridge Alumni Database. University of Cambridge.CS1 maint: ref=harv (link) |ref=harv not recommended.

Testing main template