Difference between revisions of "Template:Acad/testcases"

From blackwiki
Jump to navigation Jump to search
blackwiki>Trappist the monk
blackwiki>Trappist the monk
m (Update;)
Line 2: Line 2:
  
 
== Testing sandbox version ==
 
== Testing sandbox version ==
 +
Prior to adding quotes to the ID portion of the url, this cite produced two results from the ACAD database
 +
*<code><nowiki>{{acad|id=M661J|name=Mason, John}}</nowiki></code>
 +
*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
 +
*{{acad/sandbox|id=M661J|name=Mason, John}} – sandbox version (with quotes)
  
 
Test error detection:
 
Test error detection:

Revision as of 20:50, 5 January 2014

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