Template:Map marker
One marker on a Map. Position is a percentage of the picture: x from the left, y from the top. Logged-in editors can click the target button on any map to get this code for the spot they click.
{{Map marker|chest|52.5|51.5}}
{{Map marker|boss|7|12.5|name=Ogre King|text=Drops the Ogre Club.|link=Ogre King}}
Part of the design kit. Marker types are listed in Module:Map/types.
One marker on a Map. Position is a percentage of the picture: x from the left, y from the top. Logged-in editors can click the target button on any map to get this code for the spot they click.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type | 1 | Marker type (see Module:Map/types).
| String | required |
| X | 2 | Percent from the left edge, 0 to 100. | Number | required |
| Y | 3 | Percent from the top edge, 0 to 100. | Number | required |
| Name | name | Popup title. | Line | optional |
| Text | text | Popup text. | Content | optional |
| Link | link | Page the popup links to. | Page name | optional |
| Icon | icon | Different picture for just this marker. | File | optional |
| Filter label | label | Name in the filter list for a type not in Module:Map/types. | Line | optional |
| Dot colour | colour | Colour for dot markers, like #ff5555. | String | optional |