Template:Superimpose2/doc

This is a template expanded from Superimpose. This version supports up to 50-layer image superimposition.

Example
The Wikisyntax below will create the image at right:



Parameter definitions

 * base: File name of the base (bottom) image
 * base_width: Width to display the base image, in pixels
 * base_alt: alt attribute for the base image, text for visually impaired readers; see WP:ALT for properly written alt text
 * base_caption: title attribute for the base image, served as the pop-up tooltip message when mouse lays over it.
 * The pop-up message will display the alt text instead of title text in IE7 and older versions. This interpretation is now considered incorrect.
 * base_link: Linking for the base image
 * float: File name of the 1st layer image
 * float_width: Width to display the 1st layer image, in pixels
 * float_alt: alt attribute for the 1st layer image
 * float_caption: title attribute for the 1st layer image, served as the pop-up tooltip message when mouse lays over it.
 * x: distance to offset the 1st layer image from the left edge of the base image, in pixels or any other CSS-standard units
 * y: distance to offset the 1st layer image from the top edge of the base image, in pixels or any other CSS-standard units
 * link: Linking for the 1st layer image
 * When applying the 2nd-50th layer, add the number after all of the words float, x, y and link of floating image-related parameters to indicate their layer order as shown in the example. The image of the greater number will always appears over the smaller number layer.

Transwiki note

 * When you decide to adopt this template to other Wiki project, remember to adopt Superimpose2/base as well.