Vorlage Diskussion:US Locator
Zur Navigation springen
Zur Suche springen
Diese Seite muss noch übersetzt angepasst werden!
Usage
[Quelltext bearbeiten]Example
[Quelltext bearbeiten]
The wikicode below will create the image at right:
{{US Locator| base = US_Locator_Blank.svg | base_width = 288px | base_caption = United States Locator Map | float = Locator_Dot.svg | float_width = 10px | float_caption = Boulder, Colorado | x = 83 | y = 53 }}
Using the Template
[Quelltext bearbeiten]To get started, you can simply copy this blank definition into your page, and fill in the data.
{{US Locator| base = | base_width = | base_caption = | float = | float_width = | float_caption = | x = | y = }}
Parameter Definitions
[Quelltext bearbeiten]- 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
Coordinates
[Quelltext bearbeiten]To assist in quickly finding the right x and y coordinates these maps are provided as a reference: