Home Page - YouTube Channel



Template:Superimpose - Simple English Wikipedia, the free encyclopedia

Template:Superimpose

From the Simple English Wikipedia, the free encyclopedia that anyone can change

[[Image:{{{base}}}|{{{base_width}}}|{{{base_caption}}}]]
The template documentation below is transcluded from Template:Superimpose/doc [edit]

{{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.

Contents

[change] Usage

[change] Example

Boulder, Colorado
United States Locator Map

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
}}

[change] 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 = 
}}

[change] 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

[change] 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)

Wikipedia HTML 2008 in other languages

100 000 +

Česká (Czech)  •  English  •  Deutsch (German)  •  日本語 (Japanese)  •  Français (French)  •  Polski (Polish)  •  Suomi (Finnish)  •  Svenska (Swedish)  •  Nederlands (Dutch)  •  Español (Spanish)  •  Italiano (Italian)  •  Norsk (Norwegian Bokmål)  •  Português (Portuguese)  •  Română (Romanian)  •  Русский (Russian)  •  Türkçe (Turkish)  •  Українська (Ukrainian)  •  中文 (Chinese)

10 000 +

العربية (Arabic)  •  Български (Bulgarian)  •  Bosanski (Bosnian)  •  Català (Catalan)  •  Cymraeg (Welsh)  •  Dansk (Danish)  •  Ελληνικά (Greek)  •  Esperanto  •  Eesti (Estonian)  •  Euskara (Basque)  •  Galego (Galician)  •  עברית (Hebrew)  •  हिन्दी (Hindi)  •  Hrvatski (Croatian)  •  Magyar (Hungarian)  •  Ido  •  Bahasa Indonesia (Indonesian)  •  Íslenska (Icelandic)  •  Basa Jawa (Javanese)  •  한국어 (Korean)  •  Latina (Latin)  •  Lëtzebuergesch (Luxembourgish)  •  Lietuvių (Lithuanian)  •  Latviešu (Latvian)  •  Bahasa Melayu (Malay)  •  Plattdüütsch (Low Saxon)  •  Norsk (Norwegian Nynorsk)  •  فارسی (Persian)  •  Sicilianu (Sicilian)  •  Slovenčina (Slovak)  •  Slovenščina (Slovenian)  •  Српски (Serbian)  •  Basa Sunda (Sundanese)  •  தமிழ் (Tamil)  •  ไทย (Thai)  •  Tiếng Việt (Vietnamese)

1 000 +

Afrikaans  •  Asturianu (Asturian)  •  Беларуская (Belarusian)  •  Kaszëbsczi (Kashubian)  •  Frysk (Western Frisian)  •  Gaeilge (Irish)  •  Interlingua  •  Kurdî (Kurdish)  •  Kernewek (Cornish)  •  Māori  •  Bân-lâm-gú (Southern Min)  •  Occitan  •  संस्कृत (Sanskrit)  •  Scots  •  Tatarça (Tatar)  •  اردو (Urdu) Walon (Walloon)  •  יידיש (Yiddish)  •  古文/文言文 (Classical Chinese)

100 +

Nehiyaw (Cree)  •  словѣньскъ (Old Church Slavonic)  •  gutisk (Gothic)  •  ລາວ (Laos)