Template

MapLine: Difference between revisions

From Warlike

en-gb>John
m (1 revision imported)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<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:{{#pos:{{{description}}}|{{PAGENAME}}}}||{{#ifeq:{{{subtype}}}||Blue-marker.png|{{#ifeq:{{#pos:{{{keywords}}}|http}}||m_{{{subtype}}}.png|tm_{{{subtype}}}.png}}}}|Red-marker.png}};
<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}}}};
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 14:20, 5 September 2024

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