Template:Location/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
Wikimedia+Commons>Achim55
m Reverted edits by 2600:1004:B0DE:6FDD:D158:615B:AAAA:6958 (talk) to last revision by Tacsipacsi
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:15, 23 November 2021

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.