Jump to content

Template:Location: Difference between revisions

From FortWiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><nowiki>{{Location|name|lat|long|elevation}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#set: Has location={{{2}}},{{{3}}}}}'''Location:''' {{{1|}}}<br>
<noinclude><nowiki>{{Location|name|lat|long|elevation}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#set: Has location={{{2}}},{{{3}}}}}'''Location:'''  
{{#ifeq:{{{2}}}|||Lat: {{{2}}} Long: {{{3}}} {{#ifeq:{{{4|}}}|||Elevation: {{{4}}}'}} <!--[http://mapper.acme.com/?ll={{{2}}},{{{3}}}&z=16&t=T&marker0={{{2}}},{{{3}}},{{{1|}}} ACME],  -->[http://www.bing.com/maps/default.aspx?v=2&cp={{{2}}}~{{{3}}}&style=r&lvl=15&sp=Point.{{{2}}}_{{{3}}}_{{PAGENAMEE}} Bing], [http://maps.google.com/maps?ll={{{2}}},{{{3}}}&spn=0.11,0.18&t=h Google]<br>}}</includeonly>
{{{1|}}}<br>
Lat: {{#expr: {{{2}}} round 3}}° Long: {{#expr: {{{3}}} round 3}}° {{#ifeq:{{{4|}}}|||Elevation: {{{4}}}'}} {{Maps|{{{2}}},{{{3}}}}}
{{#ask:
    [[Has location::+]]
    [[Has location:: {{#show: {{PAGENAME}} | ?Has location }} (10 miles)]]
    | format=leaflet
    | center={{#show: {{PAGENAME}} | ?Has location }}
    | layers=OpenStreetMap, Esri.WorldImagery
    | ?Has location
    | width=100%
    | height=400px
    | cluster=on
}}

Latest revision as of 01:17, 20 August 2026

{{Location|name|lat|long|elevation}}