Template
Survival3Location
From Dogcraft Wiki
(Use new collapsible Panel template here) |
mNo edit summary |
||
Line 19: | Line 19: | ||
<div style="text-align: center; margin-top: 0.5em;">(Co-ordinates — X: '''{{{xcoord}}}''', Z: '''{{{zcoord}}}''')</div> | <div style="text-align: center; margin-top: 0.5em;">(Co-ordinates — X: '''{{{xcoord}}}''', Z: '''{{{zcoord}}}''')</div> | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude>[[Category:Location map templates]] | ||
<pre> | <pre> | ||
{{Survival3Location | {{Survival3Location |
Latest revision as of 13:32, 4 December 2023
{{Survival3Location |location_name = Chronia |xcoord = 4600 |zcoord = -11700 |scale = 0.5 |collapsed = true |transport = true }}
Accepts co-ordinates of a location on the Survival 3 world and generates a collapsible map using the Grand Map showing where the location is in the world.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Location Name | location_name | The name of the location | String | required |
X-Coordinate | xcoord | The X value, positive or negative integer. | Number | required |
Z-Coordinate | zcoord | The Z value, positive or negative integer | Number | required |
Scale modifier | scale | Determines the size of the map. 1 = 1000px map.
| Number | required |
Collapse by default | collapsed | If the map should be collapsed by default, requiring the user to press "Expand" to view it.
| Boolean | required |
Transport | transport | Display SRN and NTN routes overlay?
| Boolean | required |