Template:Case study map: Difference between revisions

From RESTORE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
<pre>
<pre>
{{Case study map
{{Case study map
|Title
|Country=
|Country=
|Region=
|Region=
Line 15: Line 16:
</pre>
</pre>
</noinclude><includeonly>
</noinclude><includeonly>
{{#ask:
{{#ask:[[Category:Case study]]
[[Category:Case study]]
{{Query field |Field name=Country|Value={{{Country|}}} }}
{{Query field |Field name=Country|Value={{{Country|}}} }}
{{Query field |Field name=Country.RESTORE region|Value={{{Region|}}} }}
{{Query field multivalue|Field name=Theme|Value={{{Themes|}}} }}
|?Project title
|?Project title
|?Country
|?Country
Line 25: Line 23:
|?Theme
|?Theme
|?Location
|?Location
|format=map
|format=googlemaps
|zoom={{{Zoom|auto}}}
|zoom={{{Zoom|auto}}}
|centre={{{Centre|}}}
|centre={{{Centre|}}}
Line 32: Line 30:
|width = {{{Width|}}}
|width = {{{Width|}}}
|limit=5000
|limit=5000
|markercluster=on
|cluster=on
|Showtitle=off
|Showtitle=yes
|Template=Case-study map popup
|Template=Case-study map popup
}}</includeonly>
}}</includeonly>

Latest revision as of 19:25, 16 September 2024

This template provides a map of all case studies in the wiki (up to a limit of 5000), or all case studies in a particular country or region. Themes can also be searched.

Call it like this:

{{Case study map
|Title
|Country=
|Region=
|Themes=
|Height=
|Width=
|Zoom=
|Centre=
}}