Template
Survival3Location
From Dogcraft Wiki
imported>William No edit summary |
imported>William No edit summary |
||
Line 75: | Line 75: | ||
"autovalue": "false", | "autovalue": "false", | ||
"required": true | "required": true | ||
}, | |||
"collapsed": { | |||
"label": "Collapse by default", | |||
"description": "If the map should be collapsed by default, requiring the user to press \"Expand\" to view it.", | |||
"type": "boolean", | |||
"default": "true", | |||
"autovalue": "true" | |||
} | } | ||
}, | }, | ||
Line 83: | Line 90: | ||
"zcoord", | "zcoord", | ||
"scale", | "scale", | ||
"collapsed", | |||
"transport" | "transport" | ||
] | ] |
Revision as of 15:43, 15 January 2020
{{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 | optional |
Transport | transport | Display SRN and NTN routes overlay?
| Boolean | required |
This page was last modified on 15 January 2020, at 15:43. (11 months ago)