Template:Pin: Difference between revisions

Want an adless experience? Log in or Create an account.
129 bytes removed ,  April 18, 2023
updated format for totk - yes this breaks other pin templates but we don't intend to use those
(add src)
(updated format for totk - yes this breaks other pin templates but we don't intend to use those)
Line 1: Line 1:
{"type":"Feature","geometry":{"type":"Point","coordinates":[{{#ifeq:{{#sub:{{{lng}}}|0|1}}|.|0|}}{{{lng}}},{{#ifeq:{{#sub:{{{lat}}}|0|1}}|.|0|}}{{{lat}}}]},"properties":{"type":"{{{type|other}}}","id":"{{{id|}}}","name":"{{{name}}}","link":"{{{link|{{{name}}}}}}","src":"{{{source|}}}"}},
{"coords":[{{{lng|{{{0}}}}}},{{{lat|{{{1}}}}}}]},"id":"{{{id|{{{2}}}}}}","name":"{{{name|{{{id|{{{2}}}}}}}}}","link":"{{{link|{{{name|{{{id|{{{2}}}}}}}}}}}}"},