Template

Survival2Location

From Dogcraft Wiki

imported>William
(Created page with "<includeonly> <div class="toccolours mw-collapsible {{#ifeq: {{{collapsed}}}|true|mw-collapsed|}}" style="width: {{#expr: 1000 * {{{scale}}}}}px; max-width: {{#expr: 1000 * {{...")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
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 20: Line 20:


</includeonly>
</includeonly>
<noinclude>
<noinclude>[[Category:Location map templates]]
<pre>
<pre>
{{Survival3Location
{{Survival2Location
|location_name = Chronia
|location_name = Akkara
|xcoord = 4600
|xcoord = 0
|zcoord = -11700
|zcoord = 0
|scale = 0.5
|scale = 0.5
|collapsed = true
|collapsed = true
Line 32: Line 32:
</pre>
</pre>


{{Survival3Location
{{Survival2Location
|location_name = Chronia
|location_name = Akkara
|xcoord = 4600
|xcoord = 0
|zcoord = -11700
|zcoord = 0
|scale = 0.5
|scale = 0.5
|collapsed = true
|collapsed = true

Latest revision as of 13:32, 4 December 2023

{{Survival2Location
|location_name = Akkara
|xcoord = 0
|zcoord = 0
|scale = 0.5
|collapsed = true
|transport = true
}}


Locator.svg Akkara in Survival 2


Akkara

Location of Akkara on the Great Survival Map of Survival 2.

(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.

Template parameters

ParameterDescriptionTypeStatus
Location Namelocation_name

The name of the location

Stringrequired
X-Coordinatexcoord

The X value, positive or negative integer.

Numberrequired
Z-Coordinatezcoord

The Z value, positive or negative integer

Numberrequired
Scale modifierscale

Determines the size of the map. 1 = 1000px map.

Default
1
Auto value
1
Numberrequired
Collapse by defaultcollapsed

If the map should be collapsed by default, requiring the user to press "Expand" to view it.

Default
true
Auto value
true
Booleanrequired
Transporttransport

Display SRN and NTN routes overlay?

Default
false
Auto value
false
Booleanrequired