| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
How to superimpose multiple structures hhmi.umbc.edu | Page Template learndental.com | fingertip template davidlnelson.md | Base Template healthseakers.com |
[[Image:{{{base}}}|{{{base_width}}}|alt=|]] [edit] [] This documentation is transcluded from Template:Superimpose/doc. (edit | history) This template has a sandbox (edit) and testcases (edit) for editors to experiment. {{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.
UsageExample {{Superimpose | base = US_Locator_Blank.svg | base_width = 288px | base_alt = Located in north central Colorado, which in turn is just west of the center of the U.S. | base_caption = United States Locator Map | float = Red Dot.svg | float_width = 10px | x = 95 | y = 80 }} Using the TemplateTo 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 = | x = | y = }} The following blank definition includes all the parameters, including those less-commonly used. {{Superimpose | base = | base_width = | base_alt = | base_caption = | base_link = | float = | float_alt = | float_width = | float_caption = | float_link = | x = | y = }} Parameter Definitions
A Note about the Locator DotI 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) See also
|
| ↑ top of page ↑ | about thumbshots |