Jump to content

Template:Map

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)

An interactive map: zoom, drag, filters, fullscreen and markers with popups. Put Map marker lines inside it.

{{Map|image=map_shard1.png|title=Shard 1|
{{Map marker|chest|52.5|51.5}}
{{Map marker|boss|7|12.5|name=Ogre King|text=Drops the Ogre Club.}}
}}

Part of the design kit. Marker types are listed in Module:Map/types.

An interactive map: zoom, drag, filters, fullscreen and markers with popups. Put Map marker lines inside it.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Markers1

Map marker lines.

Contentrequired
Map pictureimage

Uploaded file name, without File:.

Filerequired
Titletitle

Bar above the map.

Lineoptional
Captioncaption

Text under the map.

Lineoptional
Hidden at starthidden

Marker types hidden until a reader ticks them, separated by commas.

Example
chest,sack
Stringoptional
Marker sizesize

Marker size in pixels (12 to 64). Default 26.

Numberoptional
Widthwidth

Largest width in pixels.

Numberoptional
Pixel artpixel

yes for small pixel-art maps, to keep them sharp.

Booleanoptional
World X (left)x1

In-game X at the left edge, to show X/Z in popups.

Numberoptional
World Z (top)z1

In-game Z at the top edge.

Numberoptional
World X (right)x2

In-game X at the right edge.

Numberoptional
World Z (bottom)z2

In-game Z at the bottom edge.

Numberoptional