Template

MapLine: Difference between revisions

From Warlike

No edit summary
No edit summary
Line 1: Line 1:
<noinclude><nowiki>{{MapLine|latitude=|longitude=|start=|description=|thumb=|keywords=|type=|link=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>
<noinclude><nowiki>{{MapLine|latitude=|longitude=|start=|description=|thumb=|keywords=|type=|link=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>
{{#ifeq:{{{latitude}}}|||
{{#ifeq:{{{latitude}}}|||
   {{#switch:{{{type}}}|commons=|{{{latitude}}},{{{longitude}}}~{{{description}}}~{{#sub:{{{start}}}|1|4}} {{{keywords}}}~
   {{#switch:{{{type}}}|commons=|{{{latitude}}},{{{longitude}}}~{{{description}}}~{{#ifeq:{{{link}}}|||{{image{{!}}{{{link}}}{{!}}100px}}<br>}}{{#sub:{{{start}}}|1|4}} {{{keywords}}}~
     {{#ifeq:{{#pos:{{{description}}}|{{PAGENAME}}}}||
     {{#ifeq:{{#pos:{{{description}}}|{{PAGENAME}}}}||
       {{#ifeq:{{{thumb}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|tripadvisor}}||m_{{{thumb}}}|tm_{{{thumb}}}}}}}|Red-marker.png}};
       {{#ifeq:{{{thumb}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|tripadvisor}}||m_{{{thumb}}}|tm_{{{thumb}}}}}}}|Red-marker.png}};
   }}
   }}
}}</includeonly>
}}</includeonly>

Revision as of 09:21, 6 February 2024

{{MapLine|latitude=|longitude=|start=|description=|thumb=|keywords=|type=|link=}}