Template

Collapsible Map

From Dogcraft Wiki

Revision as of 20:52, 29 October 2024 by Xpmodder (talk | contribs) (change from all template to using the new ServerMap Module - this allows for arbitrary scale values.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


East Station (Scale 1)

X:1434, Z:-294 on Sheltie



East Station (Scale 0)

X:1434, Z:-294 on Sheltie



East Station (Scale 2)

Click for full map


Test overlay
z-3.png
z-3.png
z-3.png
z-3.png
z-3.png
z-2.png
z-2.png
z-2.png
z-2.png
z-2.png
z-1.png
z-1.png
z-1.png

z-1.png
z-1.png
z0.png
z0.png
z0.png
z0.png
z0.png
z1.png
z1.png
z1.png
z1.png
z1.png

X:1434, Z:-294 on Sheltie



East Station (Scale 3)

X:1434, Z:-294 on Sheltie


Map Location, shows a part of the map with the given location marked on it

Template parameters

ParameterDescriptionTypeStatus
namename

Name of the location. Used only in the heading

Default
Map
Stringoptional
worldworld

The world the location is on. This needs to match the world name used on the dynmap!

Default
sheltie
Stringoptional
xCoordxCoord

The x coordinate of the location

Default
0
Numberoptional
zCoordzCoord

The z coordinate of the location

Default
0
Numberoptional
collapsedcollapsed

If true, the map is collapsed by default, otherwise it is expanded by default

Default
false
Booleanoptional
showCoordsshowCoords

If true, will display the coordinates and world below the map

Default
false
Booleanoptional
scalescale

The scale of the map. 0 - 500x500 block map, 1 - 1500x1500 map, 2 - 2500x2500 map, 3 - 3500x3500 map, etc

Default
0
Numberoptional
widthwidth

The max width of the map on a wiki page. This is a CSS value. To make the map cover the entire width of the page, set this to '100%'. The map is always square and the height will automatically adjust to be equal to the width.

Default
500px
Stringoptional
overlayoverlay

Optional html overlay, which will be placed in a container div which is absolutely positioned and can overlay the map.

Stringoptional
Background Takeshi by Edo