MapLine: Difference between revisions
From Warlike
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude><nowiki>{{MapLine|latitude=|longitude=|start=|title=|description=|subtype=|keywords=|type=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly> | <noinclude><nowiki>{{MapLine|latitude=|longitude=|start=|title=|description=|subtype=|keywords=|type=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly> | ||
{{#ifeq:{{{latitude}}}||| | {{#ifeq:{{{latitude}}}||| | ||
{{#switch:{{{type}}}|commons=|{{{latitude}}},{{{longitude}}}~{{{description}}}~{{#ifeq:{{{image}}}|||<br>}}{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|100px}}{{#sub:{{{start}}}|1|4}} {{{keywords}}}~ | {{#switch:{{{type}}}|commons=|{{{latitude}}},{{{longitude}}}~{{{description}}}~{{#ifeq:{{{image}}}|||{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}<br>}} | ||
{{#ifeq:{{{image}}}|||<br>}}{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|100px}}{{#sub:{{{start}}}|1|4}} {{{keywords}}}~ | |||
{{#ifeq:{{#pos:{{{description}}}|{{PAGENAME}}}}|| | {{#ifeq:{{#pos:{{{description}}}|{{PAGENAME}}}}|| | ||
{{#ifeq:{{{subtype}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|tripadvisor}}||m_{{{subtype}}}.png|tm_{{{subtype}}}.png}}}}|Red-marker.png}}; | {{#ifeq:{{{subtype}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|tripadvisor}}||m_{{{subtype}}}.png|tm_{{{subtype}}}.png}}}}|Red-marker.png}}; | ||
Line 13: | Line 15: | ||
{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}} | {{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}} | ||
{{#switch:{{{type}}}|commons=|{{{latitude}}},{{{longitude}}}~{{{description}}}~{{#ifeq:{{{image}}}|||{{image{{!}}{{{image}}}{{!}}100px}}<br>}} | |||
--> | --> |
Revision as of 16:50, 18 February 2024
{{MapLine|latitude=|longitude=|start=|title=|description=|subtype=|keywords=|type=|link=|image=}}