Template

Map Location

From Dogcraft Wiki

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Template:Map_Location/styles.css"/>
<templatestyles src="Template:Map_Location/styles.css"/>
<div>
<div id="map-outer-container">
<div id="map-outer-container">
<div id="map-container">
<div id="map-container">
Line 7: Line 8:
<div id="marker-wrapper" style="position: absolute; {{#ifexpr: {{#expr: {{{xCoord|0}}} mod 500}} < 0 | left: {{#expr: (500 + ({{{xCoord|0}}} mod 500)) - 25}}px; | left: {{#expr: ({{{xCoord|0}}} mod 500) - 25}}px;}} {{#ifexpr: {{#expr: {{{zCoord|0}}} mod 500}} < 0 | top: {{#expr: (500 + ({{{zCoord|0}}} mod 500)) - 78}}px; | top: {{#expr: ({{{zCoord|0}}} mod 500) - 78}}px;}} >
<div id="marker-wrapper" style="position: absolute; {{#ifexpr: {{#expr: {{{xCoord|0}}} mod 500}} < 0 | left: {{#expr: (500 + ({{{xCoord|0}}} mod 500)) - 25}}px; | left: {{#expr: ({{{xCoord|0}}} mod 500) - 25}}px;}} {{#ifexpr: {{#expr: {{{zCoord|0}}} mod 500}} < 0 | top: {{#expr: (500 + ({{{zCoord|0}}} mod 500)) - 78}}px; | top: {{#expr: ({{{zCoord|0}}} mod 500) - 78}}px;}} >
[[File:Map Pointer.png|left|50px]]
[[File:Map Pointer.png|left|50px]]
</div>
</div>
</div>
</div>
</div>

Revision as of 15:00, 8 February 2024


z-1.png

Map Pointer.png

sheltie X:1434, Z:-294


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

Template parameters

ParameterDescriptionTypeStatus
worldworld

no description

Default
sheltie
Stringoptional
xCoordxCoord

The x coordinate of the location

Default
0
Numberoptional
zCoordzCoord

The z coordinate of the location

Default
0
Numberoptional
This page was last modified on 8 February 2024, at 15:00. (3 months ago)
Background SRN Opening by Montenator