Template
Survival3MultiLocation
From Dogcraft Wiki
imported>William No edit summary |
mNo edit summary |
||
(5 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- | ||
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. | |scale = 0.5 | ||
|collapsed = true | |collapsed = true | ||
|transport = | |transport = false | ||
}} | }} | ||
</pre> | </pre> | ||
Line 124: | Line 124: | ||
|x5coord = -7400 | |x5coord = -7400 | ||
|z5coord = -5215 | |z5coord = -5215 | ||
|scale = 0. | |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 }}
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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
collapsed | collapsed | no description | Unknown | required |
Scale | scale | no description
| Unknown | required |
1st location name | location_name | no description | Unknown | required |
transport | transport | no description
| Boolean | required |
xcoord | xcoord | no description
| Unknown | required |
zcoord | zcoord | no description | Unknown | required |
x2coord | x2coord | no description | Unknown | optional |
z2coord | z2coord | no description | Unknown | optional |
2nd location name | 2nd location name | no description | Unknown | optional |
x3coord | x3coord | no description | Unknown | optional |
z3coord | z3coord | no description | Unknown | optional |
location3_name | location3_name | no description | Unknown | optional |
x4coord | x4coord | no description | Unknown | optional |
z4coord | z4coord | no description | Unknown | optional |
location4_name | location4_name | no description | Unknown | optional |
x5coord | x5coord | no description | Unknown | optional |
z5coord | z5coord | no description | Unknown | optional |
location5_name | location5_name | no description | Unknown | optional |
x6coord | x6coord | no description | Unknown | optional |
z6coord | z6coord | no description | Unknown | optional |
location6_name | location6_name | no description | Unknown | optional |
x7coord | x7coord | no description | Unknown | optional |
z7coord | z7coord | no description | Unknown | optional |
location7_name | location7_name | no description | Unknown | optional |
x8coord | x8coord | no description | Unknown | optional |
z8coord | z8coord | no description | Unknown | optional |
location8_name | location8_name | no description | Unknown | optional |
x9coord | x9coord | no description | Unknown | optional |
z9coord | z9coord | no description | Unknown | optional |
location9_name | location9_name | no description | Unknown | optional |
x10coord | x10coord | no description | Unknown | optional |
z10coord | z10coord | no description | Unknown | optional |
location10_name | location10_name | no description | Unknown | optional |