Template

Survival3Location

From Dogcraft Wiki

imported>William
No edit summary
imported>William
No edit summary
Line 2: Line 2:
<div class="toccolours mw-collapsible mw-collapsed" style="width: {{#expr: 1000 * {{{scale}}}}}px; max-width: {{#expr: 1000 * {{{scale}}}}}px; text-align: center>
<div class="toccolours mw-collapsible mw-collapsed" style="width: {{#expr: 1000 * {{{scale}}}}}px; max-width: {{#expr: 1000 * {{{scale}}}}}px; text-align: center>
<h3 style="padding:0.3em 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'''</h3><div class="mw-collapsible-content">{{Superimpose
<h3 style="padding:0.3em 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'''</h3><div class="mw-collapsible-content">{{Superimpose
   | base = {{#ifeq: {{{transport}}}|false|2020-01-10-Grand-Map-complete-hiRez-cropped.png|{{GrandMapSRN|size = {{#expr: 1000 * {{{scale}}}}}px}}}}
   | base = 2020-01-10-Grand-Map-complete-hiRez-cropped.png
   | base_width = {{#expr: 1000 * {{{scale}}}}}px
   | base_width = {{#expr: 1000 * {{{scale}}}}}px
   | base_alt = Location of {{{location_name}}} on the [[Grand Map]] of [[Survival 3]].
   | base_alt = Location of {{{location_name}}} on the [[Grand Map]] of [[Survival 3]].
   | base_caption = Grand Map of Survival 3
   | base_caption = Grand Map of Survival 3
  | base_type = {{#ifeq: {{{transport}}}|false|img|sim}}
   | float = Locator.svg
   | float = Locator.svg
   | float_width = {{#expr: 25 * {{{scale}}}}}px
   | float_width = {{#expr: 25 * {{{scale}}}}}px
   | x = {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{xcoord}}}}} / 40.8}}}} round 0}}
   | x = {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{xcoord}}}}} / 40.8}}}} round 0}}
   | y = {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{zcoord}}}}} / 42}}}} round 0}}
   | y = {{#expr: {{#expr: {{{scale}}} * {{#expr:{{#expr: 20000 + {{{zcoord}}}}} / 42}}}} round 0}}
  | t = test
}}(Co-ordinates - X: '''{{{xcoord}}}''', Z: '''{{{zcoord}}}''')
}}(Co-ordinates - X: '''{{{xcoord}}}''', Z: '''{{{zcoord}}}''')
</div>
</div>

Revision as of 12:14, 15 January 2020


{{Survival3Location
|location_name = West Station
|xcoord = -1029
|zcoord = -270
|scale = 0.5
|transport = false
}}


Locator.svg West Station in Survival 3


test
Location of West Station on the Grand Map of Survival 3.

(Co-ordinates - X: -1029, Z: -270)


Accepts co-ordinates of a location on the Survival 3 world and generates a collapsible map using the Grand 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
This page was last modified on 15 January 2020, at 12:14. (11 months ago)