Template

Survival3MultiLocation

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 * {{...")
 
mNo edit summary
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="toccolours mw-collapsible {{#ifeq: {{{collapsed}}}|true|mw-collapsed|}}" style="width: {{#expr: 1000 * {{{scale}}}}}px; max-width: {{#expr: 1000 * {{{scale}}}}}px; text-align: center>
<div class="toccolours mw-collapsible {{#ifeq: {{{collapsed}}}|true|mw-collapsed|}}" style="width: {{#expr: 1000 * {{{scale}}}}}px; max-width: {{#expr: 1000 * {{{scale}}}}}px; text-align: center>
<p style="padding:0.1em 0.4em; margin:10px 0 10px 0; background: #970000; color:white; font-size:140%; text-align:center;">[[File:Locator.svg|20px]] '''{{{location_name}}} in Survival 3'''</p><div class="mw-collapsible-content">{{Superimpose
<p style="padding:0.1em 0.4em; margin:10px 0 10px 0; background: #970000; color:white; font-size:140%; text-align:center;">[[File:Locator.svg|20px]] '''Locations on Survival 3'''</p><div class="mw-collapsible-content">{{Superimpose
   | base = 2020-01-10-Grand-Map-complete-hiRez-cropped.png
   | base = 2020-01-10-Grand-Map-complete-hiRez-cropped.png
   | base_width = {{#expr: 1000 * {{{scale}}}}}px
   | base_width = {{#expr: 1000 * {{{scale}}}}}px
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}}} * 44}}}}
   | x2 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr: {{#expr: 20000 + {{{xcoord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
   | 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 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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>
align:center;">'''{{{location_name}}}'''</p>
   | float3 = Locator.svg
   | float3 = {{#if: {{{x2coord|}}} | LocatorBlue.svg }}
   | float3_width = 25px
   | float3_width = {{#if: {{{x2coord|}}} | 25px }}
   | x3 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
   | x3 = {{#if: {{{x2coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y3 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
   | y3 = {{#if: {{{z2coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t3 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | t3 = {{#if: {{{location2_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#367fa9; display: inline-block; color:white; font-size:80%; text-
align:center;">'''{{{location3_name}}}'''</p>
align:center;">'''{{{location2_name}}}'''</p> }}
   | float4 = Locator.svg
 
  | float4_width = 25px
   | float4 = {{#if: {{{x3coord|}}} | LocatorGrey.svg }}
  | x4 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
  | float4_width = {{#if: {{{x3coord|}}} | 25px }}
  | y4 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
  | x4 = {{#if: {{{x3coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | t4 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | y4 = {{#if: {{{z3coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
align:center;">'''{{{location4_name}}}'''</p>
   | t4 = {{#if: {{{location3_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#4d4d4d; display: inline-block; color:white; font-size:80%; text-
  | float5 = Locator.svg
align:center;">'''{{{location3_name}}}'''</p> }}
  | float5_width = 25px
 
  | x5 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
  | float5 = {{#if: {{{x4coord|}}} | LocatorWhite.svg }}
   | y5 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
   | float5_width = {{#if: {{{x4coord|}}} | 25px }}
   | t5 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
  | x5 = {{#if: {{{x4coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
align:center;">'''{{{location5_name}}}'''</p>
   | y5 = {{#if: {{{z4coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
  | float6 = Locator.svg
   | t5 = {{#if: {{{location4_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#fff; display: inline-block; color:black; font-size:80%; text-
  | float6_width = 25px
align:center;">'''{{{location4_name}}}'''</p> }}
  | x6 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
 
   | y6 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
   | float6 = {{#if: {{{x5coord|}}} | LocatorGreen.svg }}
   | t6 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | float6_width = {{#if: {{{x5coord|}}} | 25px }}
align:center;">'''{{{location6_name}}}'''</p>
  | x6 = {{#if: {{{x5coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | float7 = Locator.svg
   | y6 = {{#if: {{{z5coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | float7_width = 25px
   | t6 = {{#if: {{{location5_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#008000; display: inline-block; color:white; font-size:80%; text-
  | x7 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
align:center;">'''{{{location5_name}}}'''</p> }}
   | y7 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
 
   | t7 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | float7 = {{#if: {{{x6coord|}}} | LocatorYellow.svg }}
align:center;">'''{{{location7_name}}}'''</p>
   | float7_width = {{#if: {{{x6coord|}}} | 25px }}
  | float8 = Locator.svg
  | x7 = {{#if: {{{x6coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | float8_width = 25px
   | y7 = {{#if: {{{z6coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | x8 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
   | t7 = {{#if: {{{location6_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#ffcc00; display: inline-block; color:white; font-size:80%; text-
  | y8 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
align:center;">'''{{{location6_name}}}'''</p> }}
   | t8 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
 
align:center;">'''{{{location8_name}}}'''</p>
  | float8 = {{#if: {{{x7coord|}}} | LocatorPurple.svg }}
  | float9 = Locator.svg
   | float8_width = {{#if: {{{x7coord|}}} | 25px }}
  | float9_width = 25px
  | x8 = {{#if: {{{x7coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
  | x9 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
   | y8 = {{#if: {{{z7coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y9 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
   | t8 = {{#if: {{{location7_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#660080; display: inline-block; color:white; font-size:80%; text-
   | t9 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
align:center;">'''{{{location7_name}}}'''</p> }}
align:center;">'''{{{location9_name}}}'''</p>
 
  | float10 = Locator.svg
   | float9 = {{#if: {{{x8coord|}}} | LocatorPink.svg }}
  | float10_width = 25px
   | float9_width = {{#if: {{{x8coord|}}} | 25px }}
  | x10 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x10coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
  | x9 = {{#if: {{{x8coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y10 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z10coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
   | y9 = {{#if: {{{z8coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t10 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | t9 = {{#if: {{{location8_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#ff8080; display: inline-block; color:white; font-size:80%; text-
align:center;">'''{{{location10_name}}}'''</p>
align:center;">'''{{{location8_name}}}'''</p> }}
   | float11 = Locator.svg
 
   | float11_width = 25px
  | float10 = {{#if: {{{x9coord|}}} | LocatorNavy.svg }}
  | x11 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}}
  | float10_width = {{#if: {{{x9coord|}}} | 25px }}
   | y11 = {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}}
  | x10 = {{#if: {{{x9coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | t11 = <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
  | y10 = {{#if: {{{z9coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
align:center;">'''{{{location2_name}}}'''</p>
  | t10 = {{#if: {{{location9_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#000080; display: inline-block; color:white; font-size:80%; text-
align:center;">'''{{{location9_name}}}'''</p> }}
 
  | float11 = {{#if: {{{x10coord|}}} | LocatorOrange.svg }}
  | float11_width = {{#if: {{{x10coord|}}} | 25px }}
  | x11 = {{#if: {{{x10coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x10coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
  | y11 = {{#if: {{{z10coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z10coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
  | t11 = {{#if: {{{location10_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#ff6600; display: inline-block; color:white; font-size:80%; text-
align:center;">'''{{{location10_name}}}'''</p> }}
}}
}}
</div>
</div>
Line 75: Line 83:


</includeonly>
</includeonly>
<noinclude>
<noinclude>[[Category:Location map templates]]
<pre>
<pre>
{{Survival3MultiLocation
{{Survival3MultiLocation
Line 94: Line 102:
|z5coord = -5215
|z5coord = -5215
<!-------[Up to 10]--------!>
<!-------[Up to 10]--------!>
|scale = 0.8
|scale = 0.5
|collapsed = true
|collapsed = true
|transport = true
|transport = false
}}
}}
</pre>
</pre>
Line 116: Line 124:
|x5coord = -7400
|x5coord = -7400
|z5coord = -5215
|z5coord = -5215
|scale = 0.8
|scale = 0.5
|collapsed = true
|collapsed = true
|transport = true
|transport = false
}}
}}<templatedata>
{
"params": {
"collapsed": {
"required": true
},
"scale": {
"label": "Scale",
"default": "0.5",
"required": true
},
"location_name": {
"label": "1st location name",
"required": true
},
"transport": {
"type": "boolean",
"default": "false",
"autovalue": "false",
"required": true
},
"xcoord": {
"autovalue": "",
"required": true
},
"zcoord": {
"required": true
},
"x2coord": {},
"z2coord": {},
"x3coord": {},
"z3coord": {},
"location3_name": {},
"x4coord": {},
"z4coord": {},
"location4_name": {},
"x5coord": {},
"z5coord": {},
"location5_name": {},
"x6coord": {},
"z6coord": {},
"location6_name": {},
"x7coord": {},
"z7coord": {},
"location7_name": {},
"x8coord": {},
"z8coord": {},
"location8_name": {},
"x9coord": {},
"z9coord": {},
"location9_name": {},
"x10coord": {},
"z10coord": {},
"location10_name": {},
"2nd location name": {}
},
"paramOrder": [
"collapsed",
"scale",
"location_name",
"transport",
"xcoord",
"zcoord",
"x2coord",
"z2coord",
"2nd location name",
"x3coord",
"z3coord",
"location3_name",
"x4coord",
"z4coord",
"location4_name",
"x5coord",
"z5coord",
"location5_name",
"x6coord",
"z6coord",
"location6_name",
"x7coord",
"z7coord",
"location7_name",
"x8coord",
"z8coord",
"location8_name",
"x9coord",
"z9coord",
"location9_name",
"x10coord",
"z10coord",
"location10_name"
],
"description": "Accepts up to 10 series of coordinates of places on Survival 3 (x, z) and a name for each set and displays markers of their location on a collapsible map (based on the Grand Map)."
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 13:32, 4 December 2023

{{Survival3MultiLocation
|location_name = Chronia
|xcoord = 4600
|zcoord = -11700
|location2_name = Ouranos
|x2coord = 5413
|z2coord = 2089
|location3_name = Barkenstein
|x3coord = -5600
|z3coord = -2400
|location4_name = Spawn
|x4coord = 0
|z4coord = 0
|location5_name = Calafort
|x5coord = -7400
|z5coord = -5215
<!-------[Up to 10]--------!>
|scale = 0.5
|collapsed = true
|transport = false
}}


Locator.svg Locations on Survival 3


Chronia


Ouranos


Barkenstein


Spawn


Calafort

Location of Chronia on the Grand Map of Survival 3.


Accepts up to 10 series of coordinates of places on Survival 3 (x, z) and a name for each set and displays markers of their location on a collapsible map (based on the Grand Map).

Template parameters

ParameterDescriptionTypeStatus
collapsedcollapsed

no description

Unknownrequired
Scalescale

no description

Default
0.5
Unknownrequired
1st location namelocation_name

no description

Unknownrequired
transporttransport

no description

Default
false
Auto value
false
Booleanrequired
xcoordxcoord

no description

Auto value
Unknownrequired
zcoordzcoord

no description

Unknownrequired
x2coordx2coord

no description

Unknownoptional
z2coordz2coord

no description

Unknownoptional
2nd location name2nd location name

no description

Unknownoptional
x3coordx3coord

no description

Unknownoptional
z3coordz3coord

no description

Unknownoptional
location3_namelocation3_name

no description

Unknownoptional
x4coordx4coord

no description

Unknownoptional
z4coordz4coord

no description

Unknownoptional
location4_namelocation4_name

no description

Unknownoptional
x5coordx5coord

no description

Unknownoptional
z5coordz5coord

no description

Unknownoptional
location5_namelocation5_name

no description

Unknownoptional
x6coordx6coord

no description

Unknownoptional
z6coordz6coord

no description

Unknownoptional
location6_namelocation6_name

no description

Unknownoptional
x7coordx7coord

no description

Unknownoptional
z7coordz7coord

no description

Unknownoptional
location7_namelocation7_name

no description

Unknownoptional
x8coordx8coord

no description

Unknownoptional
z8coordz8coord

no description

Unknownoptional
location8_namelocation8_name

no description

Unknownoptional
x9coordx9coord

no description

Unknownoptional
z9coordz9coord

no description

Unknownoptional
location9_namelocation9_name

no description

Unknownoptional
x10coordx10coord

no description

Unknownoptional
z10coordz10coord

no description

Unknownoptional
location10_namelocation10_name

no description

Unknownoptional