Template:Location: Difference between revisions

From RESTORE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
<!-- 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:{{#titleparts:{{PAGENAME}}}}| }};?Project title;?Country;?Project status;?Theme;?Location;icon=Red_marker.png
|[[Category:Case study]][[Has multi-site::Yes]]{{Query field|Field name=Project title|Value={{PAGENAME}}| }};?Project title;?Country;?Project status;?Theme;?Location;icon=green_marker.png
|[[Category:Case study]][[Has multi-site::Yes]]{{Query field|Field name=Project title|Value={{#titleparts:{{PAGENAME}}}}| }};?Project title;?Country;?Project status;?Theme;?Location;icon=Green_marker.png
|[[Category:Case study]][[Has multi-site::No]]{{Query field|Field name=Project title|Value={{PAGENAME}}| }};?Project title;?Country;?Project status;?Theme;?Location;icon=Red_marker.png
|[[Category:Case study]][[Has multi-site::No]]{{Query field|Field name=Project title|Value={{#titleparts:{{PAGENAME}}}}| }};?Project title;?Country;?Project status;?Theme;?Location;icon=Red_marker.png
|format=map
|format=map
|height=400
|height=400

Revision as of 17:41, 2 May 2017

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.