Template:Superimpose/testcases

The same logic applies to both the base image and the float image. The results are the same as when using the Extended image syntax.

Test title text
Logic:
 * tooltip = if caption then caption else if link then link else void
 * link = if link then link else image file (the float link can be suppressed. See below)

Test alt text
The alt text should only be seen in the HTML code or with a screen reader.

Logic:
 * alt = if alt then alt else if caption then caption else file name

Suppressing the float link
Logic:
 * if the float_link parameter is assigned a value then the link will be to that value.
 * if the float_link parameter is included but is not assigned any value then the link will be suppressed.
 * if the float_link parameter is not included then the link will be to the float image.