Template:Location: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
<div>{{#if: {{{Location|}}} | Location: [[Location::{{{Location}}}]] | Location: none specified}} <div style="float:right;">[[Special:FormEdit/Location/{{FULLPAGENAME}}|Edit location]]</div> | <div>{{#if: {{{Location|}}} | Location: [[Location::{{{Location}}}]] | Location: none specified}} <div style="float:right;">[[Special:FormEdit/Location/{{FULLPAGENAME}}|Edit location]]</div> | ||
<!-- Preference is given to uploaded KML file --> | <!-- Preference is given to uploaded KML file --> | ||
{{#if: {{{Location|}}} | | {{#if: {{{Location|}}} | | ||
{{#compound_query:[[Category:Case study]]{{Query field|Field name=Parent project|Value=Case_study:{{PAGENAME}}| }};?Project title;?Country;?Project status;?Theme;?Location;icon=Red_marker.png | {{#compound_query:[[Category:Case study]]{{Query field|Field name=Parent project|Value=Case_study:{{PAGENAME}}| }};?Project title;?Country;?Project status;?Theme;?Location;icon=Red_marker.png | ||
Line 32: | Line 24: | ||
|type=hybrid | |type=hybrid | ||
|template=Case study location marker popup | |template=Case study location marker popup | ||
|gkml={{#if: {{{Kml file|}}} | {{filepath:{{{Kml file|}}} }} | {{{Kml path|}}} }} | |gkml={{#if: {{{Kml file|}}} | http:{{filepath:{{{Kml file|}}} }} | {{{Kml path|}}} }} | ||
|Showtitle=off | |Showtitle=off | ||
}} | }} |
Revision as of 16:48, 2 June 2015
This is the "Location" template. It should be called in the following format:
{{Location |Location= |Kml file= |Kml path= }}
Edit the page to see the template text.