Template

Survival3MultiLocation

From Dogcraft Wiki

imported>William
No edit summary
mNo edit summary
 
(7 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: 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 = {{#if: {{{x2coord|}}} | LocatorBlue.svg }}
   | float3 = {{#if: {{{x2coord|}}} | LocatorBlue.svg }}
   | float3_width = {{#if: {{{float3_width|}}} | 25px }}
   | float3_width = {{#if: {{{x2coord|}}} | 25px }}
   | x3 = {{#if: {{{x2coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x3 = {{#if: {{{x2coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y3 = {{#if: {{{z2coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y3 = {{#if: {{{z2coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z2coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t3 = {{#if: {{{location2_name|}}} | <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;">'''{{{location2_name}}}'''</p> }}
align:center;">'''{{{location2_name}}}'''</p> }}


   | float4 = {{#if: {{{x3coord|}}} | LocatorGrey.svg }}
   | float4 = {{#if: {{{x3coord|}}} | LocatorGrey.svg }}
   | float4_width = {{#if: {{{float4_width|}}} | 25px }}
   | float4_width = {{#if: {{{x3coord|}}} | 25px }}
   | x4 = {{#if: {{{x3coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x4 = {{#if: {{{x3coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y4 = {{#if: {{{z3coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y4 = {{#if: {{{z3coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z3coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t4 = {{#if: {{{location3_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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-
align:center;">'''{{{location3_name}}}'''</p> }}
align:center;">'''{{{location3_name}}}'''</p> }}


   | float5 = {{#if: {{{x4coord|}}} | LocatorWhite.svg }}
   | float5 = {{#if: {{{x4coord|}}} | LocatorWhite.svg }}
   | float5_width = {{#if: {{{float5_width|}}} | 25px }}
   | float5_width = {{#if: {{{x4coord|}}} | 25px }}
   | x5 = {{#if: {{{x4coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x5 = {{#if: {{{x4coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y5 = {{#if: {{{z4coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y5 = {{#if: {{{z4coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z4coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t5 = {{#if: {{{location4_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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-
align:center;">'''{{{location4_name}}}'''</p> }}
align:center;">'''{{{location4_name}}}'''</p> }}


   | float6 = {{#if: {{{x5coord|}}} | LocatorGreen.svg }}
   | float6 = {{#if: {{{x5coord|}}} | LocatorGreen.svg }}
   | float6_width = {{#if: {{{float6_width|}}} | 25px }}
   | float6_width = {{#if: {{{x5coord|}}} | 25px }}
   | x6 = {{#if: {{{x5coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x6 = {{#if: {{{x5coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y6 = {{#if: {{{z5coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y6 = {{#if: {{{z5coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z5coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t6 = {{#if: {{{location5_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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-
align:center;">'''{{{location5_name}}}'''</p> }}
align:center;">'''{{{location5_name}}}'''</p> }}


   | float7 = {{#if: {{{x6coord|}}} | LocatorYellow.svg }}
   | float7 = {{#if: {{{x6coord|}}} | LocatorYellow.svg }}
   | float7_width = {{#if: {{{float7_width|}}} | 25px }}
   | float7_width = {{#if: {{{x6coord|}}} | 25px }}
   | x7 = {{#if: {{{x6coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x7 = {{#if: {{{x6coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y7 = {{#if: {{{z6coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y7 = {{#if: {{{z6coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z6coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t7 = {{#if: {{{location6_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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-
align:center;">'''{{{location6_name}}}'''</p> }}
align:center;">'''{{{location6_name}}}'''</p> }}


   | float8 = {{#if: {{{x7coord|}}} | LocatorPurple.svg }}
   | float8 = {{#if: {{{x7coord|}}} | LocatorPurple.svg }}
   | float8_width = {{#if: {{{float8_width|}}} | 25px }}
   | float8_width = {{#if: {{{x7coord|}}} | 25px }}
   | x8 = {{#if: {{{x7coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x8 = {{#if: {{{x7coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y8 = {{#if: {{{z7coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y8 = {{#if: {{{z7coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z7coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t8 = {{#if: {{{location7_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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-
align:center;">'''{{{location7_name}}}'''</p> }}
align:center;">'''{{{location7_name}}}'''</p> }}


   | float9 = {{#if: {{{x8coord|}}} | LocatorPink.svg }}
   | float9 = {{#if: {{{x8coord|}}} | LocatorPink.svg }}
   | float9_width = {{#if: {{{float9_width|}}} | 25px }}
   | float9_width = {{#if: {{{x8coord|}}} | 25px }}
   | x9 = {{#if: {{{x8coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x9 = {{#if: {{{x8coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y9 = {{#if: {{{z8coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y9 = {{#if: {{{z8coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z8coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t9 = {{#if: {{{location8_name|}}} | <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;">'''{{{location8_name}}}'''</p> }}
align:center;">'''{{{location8_name}}}'''</p> }}


   | float10 = {{#if: {{{x9coord|}}} | LocatorNavy.svg }}
   | float10 = {{#if: {{{x9coord|}}} | LocatorNavy.svg }}
   | float10_width = {{#if: {{{float10_width|}}} | 25px }}
   | float10_width = {{#if: {{{x9coord|}}} | 25px }}
   | x10 = {{#if: {{{x9coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | x10 = {{#if: {{{x9coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | y10 = {{#if: {{{z9coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | y10 = {{#if: {{{z9coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{z9coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 52}}}} }}
   | t10 = {{#if: {{{location9_name|}}} | <p style="padding:0em 0.1em; margin:5px 0 5px 0; background:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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> }}
align:center;">'''{{{location9_name}}}'''</p> }}


   | float11 = {{#if: {{{x10coord|}}} | LocatorOrange.svg }}
   | float11 = {{#if: {{{x10coord|}}} | LocatorOrange.svg }}
   | float11_width = {{#if: {{{float11_width|}}} | 25px }}
   | float11_width = {{#if: {{{x10coord|}}} | 25px }}
   | x11 = {{#if: {{{x10coord|}}} | {{#expr: {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{x10coord}}}}} / 40}}}} round 0}} - {{#expr: {{{scale}}} * 44}}}} }}
   | 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}}}} }}
   | 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:#970000; display: inline-block; color:white; font-size:80%; text-
   | 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> }}
align:center;">'''{{{location10_name}}}'''</p> }}
}}
}}
Line 83: Line 83:


</includeonly>
</includeonly>
<noinclude>
<noinclude>[[Category:Location map templates]]
<pre>
<pre>
{{Survival3MultiLocation
{{Survival3MultiLocation
Line 102: 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 124: 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
Background Dragon Slayer - Retriever by Ironboundred