Template:Superimpose/testcases
Template:Template test cases notice 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
editLogic:
- 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)
caption and link | caption an no link | link and no caption | no caption an no link |
---|---|---|---|
Compare to File: syntax
editcaption and link | caption an no link | link and no caption | no caption an no link |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Test alt text
editThe 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
alt text and captions | alt text and no captions | captions and no alt text | no alt text and no captions |
---|---|---|---|
Test base attribution symbol
edittop left | top right | bottom left | default |
---|---|---|---|
Suppressing the float link
editLogic:
- 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.
link defined and specified | link defined and unspecified | link undefined |
---|---|---|