Template
Survival2Location
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: 10240 + {{{xcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} | | x2 = {{#expr: {{#expr: {{{scale}}} * 340}} + {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 10240 + {{{xcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }} | ||
| y2 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 10240 + {{{zcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} | | y2 = {{#expr: {{#expr: {{{scale}}} * 46}} + {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 10240 + {{{zcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }} | ||
| t2 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-align:center;">'''{{{location_name}}}'''</p> | | t2 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-align:center;">'''{{{location_name}}}'''</p> | ||
}}(Co-ordinates - X: '''{{{xcoord}}}''', Z: '''{{{zcoord}}}''') <br>Note that the Great Survival Map only covers a distance of 10,240 blocks from spawn. | }}(Co-ordinates - X: '''{{{xcoord}}}''', Z: '''{{{zcoord}}}''') <br>Note that the Great Survival Map only covers a distance of 10,240 blocks from spawn. | ||
Line 23: | Line 23: | ||
<pre> | <pre> | ||
{{Survival2Location | {{Survival2Location | ||
|location_name = | |location_name = Akkara | ||
|xcoord = | |xcoord = 0 | ||
|zcoord = | |zcoord = 0 | ||
|scale = 0.5 | |scale = 0.5 | ||
|collapsed = true | |collapsed = true | ||
Line 33: | Line 33: | ||
{{Survival2Location | {{Survival2Location | ||
|location_name = | |location_name = Akkara | ||
|xcoord = | |xcoord = 0 | ||
|zcoord = | |zcoord = 0 | ||
|scale = 0.5 | |scale = 0.5 | ||
|collapsed = true | |collapsed = true |
Revision as of 00:59, 17 January 2020
{{Survival2Location |location_name = Akkara |xcoord = 0 |zcoord = 0 |scale = 0.5 |collapsed = true |transport = true }}
Akkara
(Co-ordinates - X: 0, Z: 0)
Note that the Great Survival Map only covers a distance of 10,240 blocks from spawn.
Accepts co-ordinates of a location on the Survival 2 world and generates a collapsible map using the Great Survival 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 |
This page was last modified on 17 January 2020, at 00:59. (11 months ago)