For faster navigation, this Iframe is preloading the Wikiwand page for قالب:Superimpose/شرح.

قالب:Superimpose/شرح

((Superimpose/شرح)) is a utility which superimposes one image over another, and positions it relative to the top left corner of the bottom image. Although the original idea was to place a dot on a locator map based on editable coordinates, it can be used to precisely overlay any two images for any reason.

الاستخدام

Example

The wikicode below will create the image at right:

((Superimpose| base = US_Locator_Blank.svg
 | base_width = 288px
 | base_caption = United States Locator Map
 | float = Red Dot.svg
 | float_width = 10px
 | float_caption = Boulder, Colorado
 | x = 83
 | y = 53
))

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_caption = 
 | float = 
 | float_width = 
 | 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_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_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

A Note about the Locator Dot

I originally built this template thinking I could use an SVG file with transparency (mostly for the dot in locator maps). However, it seems Internet Explorer users can't handle transparent PNGs without a fix that Wikimedia's not yet delivering, so for now I recommend using the GIF version in the example above. When IE better supports PNGs, we can swap the better format back in. —Papayoung ☯ 02:06, 26 October 2005 (UTC)


{{bottomLinkPreText}} {{bottomLinkText}}
قالب:Superimpose/شرح
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?