Template:Pin: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(make sure there's a 0 to the left of the decimal point)
(add leading zero only if first character is decimal point)
Line 1: Line 1:
{"type":"Feature","geometry":{"type":"Point","coordinates":[{{padleft:{{{lng}}}|6}},{{padleft:{{{lat}}}|6}}]},"properties":{"type":"{{{type|other}}}","name":"{{{name}}}","link":"{{{link|{{{name}}}}}}"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[{{#ifeq:{{#sub:{{{lng}}}|0|1}}|.|0|}}{{{lng}}},{{#ifeq:{{#sub:{{{lat}}}|0|1}}|.|0|}}{{{lat}}}]},"properties":{"type":"{{{type|other}}}","name":"{{{name}}}","link":"{{{link|{{{name}}}}}}"}},

Revision as of 23:55, March 6, 2017

{"type":"Feature","geometry":{"type":"Point","coordinates":[{{{lng}}},{{{lat}}}]},"properties":{"type":"other","name":"{{{name}}}","link":"{{{name}}}"}},