Template
Survival3Location
From Dogcraft Wiki
imported>William No edit summary |
imported>William No edit summary |
||
Line 12: | Line 12: | ||
| float2 = Locator.svg | | float2 = Locator.svg | ||
| float2_width = 25px | | float2_width = 25px | ||
| x2 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{xcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * | | x2 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{xcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 48}}}} | ||
| y2 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{zcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} | | y2 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{zcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} | ||
| t2 = <h4 style="padding:0.1em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-align:center;">'''{{{location_name}}}'''</h4> | | t2 = <h4 style="padding:0.1em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-align:center;">'''{{{location_name}}}'''</h4> |
Revision as of 14:36, 15 January 2020
{{Survival3Location |location_name = Spawn |xcoord = 4600 |zcoord = -11700 |scale = 0.5 |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 |
Transport | transport | Display SRN and NTN routes overlay?
| Boolean | required |
This page was last modified on 15 January 2020, at 14:36. (11 months ago)