Template

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>{{#ifeq:{{{latitude}}}|||{{#switch:{{{type}}}|commons|artefact=|{{{latitude}}},{{{longitude}}}~{{#ifeq:{{{description}}}||[{{Link|{{#ifeq:{{{link}}}||{{{image}}}|{{{link}}}}}}} {{{title}}}]|{{{description}}}}}~{{#ifeq:{{{image}}}|||
<noinclude><nowiki>{{MapLine|latitude=|longitude=|start=|title=|description=|subtype=|keywords=|type=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#ifeq:{{{latitude}}}|||{{#switch:{{{type}}}|commons|artefact=|{{{latitude}}},{{{longitude}}}~{{#ifeq:{{{description}}}||[{{Link|{{#ifeq:{{{link}}}||{{{image}}}|{{{link}}}}}}} {{{title}}}]|{{{description}}}}}~{{#ifeq:{{{image}}}|||
{{#ifeq:{{#sub:{{{image}}}|0|5}}|File:|[[{{{image}}}{{!}}100px]]|<IMG SRC={{URL|{{{image}}}}} WIDTH=100>}}<br>}}{{#sub:{{{start}}}|1|4}} {{eq{{!}}{{{keywords}}}}}~{{#ifeq:{{#pos:{{{description}}}|{{PAGENAME}}}}||{{#ifeq:{{{subtype}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|http}}||m_{{{subtype}}}.png|tm_{{{subtype}}}.png}}}}|Red-marker.png}};
{{#ifeq:{{#sub:{{{image}}}|0|5}}|File:|[[{{{image}}}{{!}}100px]]|<IMG SRC={{URL{{!}}{{{image}}}}} WIDTH=100>}}<br>}}{{#sub:{{{start}}}|1|4}} {{eq{{!}}{{{keywords}}}}}~{{#ifeq:{{#pos:{{{description}}}|{{PAGENAME}}}}||{{#ifeq:{{{subtype}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|http}}||m_{{{subtype}}}.png|tm_{{{subtype}}}.png}}}}|Red-marker.png}};
}}}}
}}}}
</includeonly>
</includeonly>

Revision as of 07:36, 19 June 2024

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