Template:Location/doc

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search

Syntax #1: decimal degrees

Lua error in Module:Languages at line 412: invalid escape sequence near '''.

Syntax #2: Degrees/Minutes/Seconds (DMS)

Lua error in Module:Languages at line 412: invalid escape sequence near '''.

Syntax #2a: Degrees/Minutes/Seconds (DMS) symbols

It is possible to use the output format (of e.g. Location, or Wikimapia) as the input for Location:
The DMS data string can be converted from the symbol format e.g. {{ Location1 = 34°01′27.37″N 116°09′29.88″W... }}
to the above DMS format; all the other parameters also like above. Additional spaces or commas are allowed.

Examples

Syntax #1
Code
 {{Location|34.02427|-116.15830|region:DE-NI_scale:5000}}
Produces Script error: The function "LocationTemplateCore" does not exist.
Syntax #2
Code
 {{Location|34|1|27.37|N|116|9|...}}
Produces Script error: The function "LocationTemplateCore" does not exist.
Syntax #2a
Code {{Location|34° 01′ 27.37″ N, 116° 09′ 29.88″ W|region:DE-NI_scale:10000_heading:SW}}
Produces Script error: The function "LocationTemplateCore" does not exist.
Main syntax
Code {{Location|34|1|27.37|N|116|9|...}}
Produces Script error: The function "LocationTemplateCore" does not exist.