Jump to content

Template:Map marker

From CinderRPG Wiki
Revision as of 03:16, 2 November 2026 by Lucifer WPF (talk | contribs) (Sync from GitHub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

Marker type (see Module:Map/types).

Suggested values
chest sack platsilver rubysilver bellflower scarlet mushroom ester soulgem mob boss dungeon obelisk quest town poi
Stringrequired
X2

Percent from the left edge, 0 to 100.

Numberrequired
Y3

Percent from the top edge, 0 to 100.

Numberrequired
Namename

Popup title.

Lineoptional
Texttext

Popup text.

Contentoptional
Linklink

Page the popup links to.

Page nameoptional
Iconicon

Different picture for just this marker.

Fileoptional
Filter labellabel

Name in the filter list for a type not in Module:Map/types.

Lineoptional
Dot colourcolour

Colour for dot markers, like #ff5555.

Stringoptional