Template:Superimpose

From CreationWiki, the encyclopedia of creation science
Jump to navigationJump to search
[[File:{{{base}}}|{{{base_width}}}|alt=|{{{base_caption}}}]]
[edit] [history] [purge] Documentation icon Template documentation

Superimpose is a utility which superimposes one image over another, and positions it relative to the top left corner of the bottom image. Use this mainly to superimpose a dot on a map.

Usage

Using the Template

To get started, you can simply copy this blank definition into your page, and fill in the data.

{{Superimpose| base = 
  | base_width = 
  | base_alt = 
  | base_caption = 
  | float = 
  | float_width = 
  | float_alt = 
  | float_caption = 
  | x = 
  | y = 
}}

Parameter Definitions

  • base: File name of the base (bottom) image
  • base_width: Width to display the base image, in pixels
  • base_alt: Alt text for the image, for visually impaired readers; see Wikipedia:ALT for an explanation.
  • base_caption: Text to show when a user's mouse hovers over the base image
  • float: File name of the top image
  • float_width: Width to display the top image, in pixels
  • float_alt: Alt text for the top image
  • float_caption: Text to show when a user's mouse hovers over the top image
  • x: distance to offset the top image from the left edge of the base image, in pixels or any other CSS-standard units
  • y: distance to offset the top image from the top edge of the base image, in pixels or any other CSS-standard units