| Template Documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Notes:
This template can be used to generate a map image thumbnail.
Syntax:
{{Map Image
|posx=125.19
|posy=122.61
|posz=7
|size=175
|area=50
|link=
}}
| Parameter | Required | Usage |
|---|---|---|
npc |
✗ | yes/no, creates a theme similar to Template:Minimap. (defaults to no) |
window_size |
✗ | integer,used in combination with the npc parameter, sets the size of the box in px. (defaults to 150) |
posx |
✗ | map x coordinate. (defaults to thais temple) |
posy |
✗ | map y coordinate. (defaults to thais temple) |
posz |
✗ | map z coordinate. (defaults to 7) |
size |
✗ | the size of the image, the area is stretched to this size. to leave a crisp image, set the size and area to the same value. (defaults to 75) |
area |
✗ | the map area you want to crop. an area of 100 will produce a 100px by 100px image with the coordinate in the middle.(defaults to 75) |
link |
✗ | yes/no, shows a link to Mapper.the link's visual length is set by window_size.(default to no) |
Example:
image only
{{Map Image
|posx=126.112
|posy=125.239
|posz=7
|size=200
|area=100
}}
npc (default)
{{Map Image
|npc=yes
|posx=126.112
|posy=125.239
|posz=7
|area=75
|size=75
|link=yes
}}
inside a div only
<div class="map_image" style="width:450px">
{{Map Image
|posx=126.112
|posy=125.239
|posz=7
|size=90
|area=90
}}
</div>
