Template

MapLine: Difference between revisions

From Warlike

No edit summary
No edit summary
 
(64 intermediate revisions by 2 users not shown)
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=|title=|description=|subtype=|keywords=|type=|link=|image=|notes=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#ifeq:{{{latitude}}}|||{{#switch:{{{type}}}|artefact=|{{{latitude}}},{{{longitude}}}~{{#ifeq:{{{description}}}||[{{URL|{{#ifeq:{{{link}}}||{{{image}}}|{{{link}}}}}}} {{{title}}}]|{{{description}}}}}~{{#ifeq:{{{subtype}}}|image|{{MapImage{{!}}{{{image}}}}}<br>}}{{#sub:{{{start}}}|1|4}} {{{keywords}}} {{{notes}}}~{{#ifeq:{{{subtype}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|http}}||m_{{{subtype}}}.png|tm_{{{subtype}}}.png}}}};
{{#ifeq:{{{latitude}}}|||
}}}}</includeonly>
  {{#ifeq:{{{type}}}|qitem|{{{latitude}}},{{{longitude}}}~{{{description}}}~{{#sub:{{{start}}}|1|4}} {{{keywords}}}~
    {{#ifeq:{{#pos:{{{description}}}|{{PAGENAME}}}}||
      {{#ifeq:{{{thumb}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|tripadvisor}}||m_{{{thumb}}}|tm_{{{thumb}}}}}}}|Red-marker.png}};
    |<!--{{#switchcategory:Sites|Weapons=
      {{{latitude}}},{{{longitude}}}~{{{description}}}~{{image{{!}}{{{link}}}{{!}}200}}<br>{{#sub:{{{start}}}|1|4}}  
      {{{keywords}}}~{{#ifeq:{{{thumb}}}||m_photo.png|{{{thumb}}}}};
    }}-->
  }}
}}</includeonly>

Latest revision as of 14:20, 5 September 2024

{{MapLine|latitude=|longitude=|start=|title=|description=|subtype=|keywords=|type=|link=|image=|notes=}}