Template:Ext scan link/testcases

Test Code Main Sandbox
Simple
{{Ext scan link|https://archive.org/details/foobar}}
(external scan)

(external scan)

Multiple
{{Ext scan link
 |https://archive.org/details/foobar1
 |https://archive.org/details/foobar2
}}
(external scans (multiple parts): 1, 2)

(external scans (multiple parts): 1, 2)

Named
{{Ext scan link|https://archive.org/details/foobar1|display1=Foo Bar}}
(Foo Bar)

(Foo Bar)

Upload filename
{{Ext scan link|https://archive.org/details/foobar1|filename1=Target Filename}}
(external scan)

(external scan)

Missing equals
{{Ext scan link|https://babel.hathitrust.org/cgi/pt?id=uiug.30112031636522}}
Lua error: Missing = before parameter: https://babel.hathitrust.org/cgi/pt?id=uiug.30112031636522.

Lua error: Missing = before parameter: https://babel.hathitrust.org/cgi/pt?id=uiug.30112031636522.