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 id="map-outer-container" href="https://dogcraft.net/map"> | {{Panel | ||
|title = Map | |||
|content = <div id="map-outer-container" href="https://dogcraft.net/map"> | |||
<div id="map-container"> | <div id="map-container"> | ||
https://map.dogcraft.net/maps/{{{world|sheltie}}}/tiles/1/x{{#expr: floor({{{xCoord|0}}} / 500)}}/z{{#expr: floor({{{zCoord|0}}} / 500)}}.png | https://map.dogcraft.net/maps/{{{world|sheltie}}}/tiles/1/x{{#expr: floor({{{xCoord|0}}} / 500)}}/z{{#expr: floor({{{zCoord|0}}} / 500)}}.png | ||
Line 10: | Line 12: | ||
</div> | </div> | ||
<p id="coord-text">X:{{{xCoord|0}}}, Z:{{{zCoord|0}}} on {{{world|sheltie}}}</p> | <p id="coord-text">X:{{{xCoord|0}}}, Z:{{{zCoord|0}}} on {{{world|sheltie}}}</p> | ||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 15:24, 8 February 2024
Map Location, shows a part of the map with the given location marked on it
Parameter | Description | Type | Status | |
---|---|---|---|---|
world | world | no description
| String | optional |
xCoord | xCoord | The x coordinate of the location
| Number | optional |
zCoord | zCoord | The z coordinate of the location
| Number | optional |
This page was last modified on 8 February 2024, at 15:24. (9 months ago)