<Template error> Required parameter(s) missing (image, imagewidth, imageheight)

Template documentation (for the template shown above, sometimes hidden or invisible)

Template for displaying a section of an image (usually a map). Shows the section's relative position in the bottom right corner on a small thumbnail of the whole image.

Usage

Parameters

Required
image
Name of the image to display (without "File:").
Required
imageheight
Full height of the original (full-size) image in pixels.
Required
imagewidth
Full width of the original (full-size) image in pixels.
Required
x-coord
Pixel coordinate of the segment's top-left corner on the x-axis (i.e. distance from the left edge of the original image). This coordinate is always in relation to the (full-size) original image.
Required
y-coord
Pixel coordinate of the segment's top-left corner on the y-axis (i.e. distance from the top edge of the original image). This coordinate is always in relation to the (full-size) original image.
Optional
caption
Caption of the graphic (default: none). Causes a thumbnail-like frame to be displayed around the graphic.
Optional
(default: none)
float
CSS float of the whole graphic.

Available options:

  • none: Text does not flow around the graphic.
  • left: Subsequent text floats around the graphic on the right.
  • right: Subsequent text floats around the graphic on the left.
Optional
(default: "300")
height
Height of the segment you wish to display in pixels.
Optional
(default: "width/5")
refwidth
Width of the reference graphic in the bottom-right corner in pixels.
Optional
(default: "1")
scale
Adjusts zoom factor of the segment. Possible values:
  • "1" = original size
  • values < 1 = zoom out
  • values > 1 = zoom in
Optional
(default: "500")
width
Width of the segment you wish to display in pixels.

Example

{{Map zoomed
|image       =The 13 Commonwealths of the United States of Fallout.png
|imagewidth  =959
|imageheight =593
|width       =400
|height      =250
|x-coord     =200
|y-coord     =100
}}

results in:

The 13 Commonwealths of the United States of Fallout.png
The 13 Commonwealths of the United States of Fallout.png
Documentation transcluded from Template:Map zoomed/doc.
社区内容除另有注明外,均在CC-BY-SA许可协议下提供。