Template

MapLinks: Difference between revisions

From Spacefaring

en-gb>John
No edit summary
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><nowiki>{{MapLinks|latitude=|longitude=|what3words=|gridref=|countries=|name=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>'''Location:''' {{{latitude}}}, {{{longitude}}}, {{#ifeq:{{{what3words}}}|||[https://what3words.com/{{{what3words}}} ///{{{what3words}}}],}} {{#ifeq:{{{gridref}}}|||{{{gridref}}},}}  
<noinclude><nowiki>{{MapLinks|latitude=|longitude=|what3words=|gridref=|countries=|name=|filename=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>'''Location:''' {{{latitude}}}, {{{longitude}}}, {{#ifeq:{{{what3words}}}|||[https://what3words.com/{{{what3words}}} ///{{{what3words}}}],}} {{#ifeq:{{{gridref}}}|||{{{gridref}}},}}  
[{{URL|Q/{{#ifeq:{{#sub:{{PAGENAME}}|4}}||000/{{#sub:{{PAGENAME}}|1|3}}|{{#sub:{{PAGENAME}}|1|3}}/{{#sub:{{PAGENAME}}|4}}}}/{{{name}}}.kml}} KML],
[{{URL|Q/{{#ifeq:{{#sub:{{PAGENAME}}|4}}||000/{{#sub:{{PAGENAME}}|1|3}}|{{#sub:{{PAGENAME}}|1|3}}/{{#sub:{{PAGENAME}}|4}}}}/{{{filename}}}.kml}} KML],
[{{URL|maps.php}}?name={{urlencode:{{{name}}}}}{{#ifeq:{{{gridref}}}|||&{{{gridref}}}}}{{#ifeq:{{{latitude}}}|||&latitude={{{latitude}}}}}{{#ifeq:{{{longitude}}}|||&longitude={{{longitude}}}}}{{#ifeq:{{{countries}}}|||&countries={{urlencode:{{{countries}}}}}}}&project={{#explode:{{SERVERNAME}}|.|0}} Other maps]
[{{URL|maps.php}}?name={{urlencode:{{{name}}}}}{{#ifeq:{{{gridref}}}|||&{{{gridref}}}}}{{#ifeq:{{{latitude}}}|||&latitude={{{latitude}}}}}{{#ifeq:{{{longitude}}}|||&longitude={{{longitude}}}}}{{#ifeq:{{{countries}}}|||&countries={{urlencode:{{{countries}}}}}}}&project={{#explode:{{SERVERNAME}}|.|0}} Other maps]
</includeonly>
</includeonly>

Latest revision as of 20:41, 17 March 2025

{{MapLinks|latitude=|longitude=|what3words=|gridref=|countries=|name=|filename=}}