Difference between revisions of "Template:Acad/testcases"
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
| This is the template test cases page for the sandbox of Template:Acad. Script error: No such module "Purge". 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 with these links: |
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}}- A Cambridge Alumni Database. University of Cambridge http://venn.lib.cam.ac.uk/acad/2016/search-2016.html. Missing or empty
|title=(help) missingid. missingname.
{{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:
{{Acad/sandbox|ref=harv|hide errors=yes}}- A Cambridge Alumni Database. University of Cambridge http://venn.lib.cam.ac.uk/acad/2016/search-2016.html. Missing or empty
|title=(help)CS1 maint: ref=harv (link)
Using named parameters:
{{Acad/sandbox|id=MLN900AA|name=Milne, Alan Alexander}}- "Milne, Alan Alexander (MLN900AA)". A Cambridge Alumni Database. University of Cambridge.
{{Acad/sandbox|id=RSL890BA|name=Russell, the Hon. Bertrand Arthur William}}- "Russell, the Hon. Bertrand Arthur William (RSL890BA)". A Cambridge Alumni Database. University of Cambridge.
{{Acad/sandbox|id=RSL890BA|name=Russell, the Hon. Bertrand Arthur William|accessdate=2013-11-13}}- "Russell, the Hon. Bertrand Arthur William (RSL890BA)". A Cambridge Alumni Database. University of Cambridge. Retrieved 2013-11-13.
Using positional parameters:
{{Acad/sandbox|MLN900AA|Milne, Alan Alexander}}- "Milne, Alan Alexander (MLN900AA)". A Cambridge Alumni Database. University of Cambridge.
- Alan Alexander&sye=&eye=&col=all&maxcount=50 "(Milne, Alan Alexander)" Check
|url=value (help). A Cambridge Alumni Database. University of Cambridge. missingname. – missing|id= - "(MLN900AA)". A Cambridge Alumni Database. University of Cambridge. missing
name. – missing|name=
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=harvnot recommended.
Testing main template
{{Acad}}- A Cambridge Alumni Database. University of Cambridge http://venn.lib.cam.ac.uk/Documents/acad/2018/search-2018.html. Missing or empty
|title=(help) missingid. missingname.
{{Acad|id=MLN900AA|name=Milne, Alan Alexander}}- "Milne, Alan Alexander (MLN900AA)". A Cambridge Alumni Database. University of Cambridge.
{{Acad|id=RSL890BA|name=Russell, the Hon. Bertrand Arthur William}}- "Russell, the Hon. Bertrand Arthur William (RSL890BA)". A Cambridge Alumni Database. University of Cambridge.