Difference between revisions of "Sandbox"

From energypedia
***** (***** | *****)
m
Tag: 2017 source edit
***** (***** | *****)
m
Tag: 2017 source edit
 
(338 intermediate revisions by 5 users not shown)
Line 1: Line 1:
a) Query Map with just one property (coordinates):
+
{{#ask:
{{#ask:
+
            [[Category:Pub Database]]  
[[Category:Biogas Project Database]]
+
            [[Pub PIE::Yes]]
|?BSP Province
+
              |?Pub Title
|format=openlayers
+
            |format=template
|center=Mongolia
+
              |template=Pub Row
|zoom=5
+
              |limit=100
|height=600
+
              |searchlabel=  
|polygons={{Polygon Mongolia}}
+
              |sort=Pub Year
 +
              |link=none
 +
              |order=desc
 
}}
 
}}
-----
 
 
b) Same query map with one more property, besides coordinates:
 
 
 
{{#ask:
 
[[Category:Biogas Project Database]]
 
|?BSP Province Name
 
|format=openlayers
 
|center=Mongolia
 
|zoom=5
 
|height=600
 
|polygons={{Polygon Mongolia}}
 
}}
 
 
----
 
 
c) Same map if we add a template to query the second property (not coordinates):
 
 
{{#ask:
 
  [[Category:Biogas Project Database]]
 
  |?BSP Province
 
  |?BSP Province Name
 
  |format=leaflet
 
  |height=350
 
  |zoom=4
 
  |template=BSP Project Map Popup
 
  |centre=Mongolia
 
  |label=Mongolia Map
 
  |polygons={{Polygon Mongolia}}
 
}}
 
 
 
{{#ask:[[Category:PAP Country]]
 
|?PAP Coordinates=-
 
|?PAP country name
 
|format=leaflet 
 
|center=Chad
 
|zoom=2
 
|height=350
 
|template=PoweringAg Project Map Popup
 
|polygons={{PAP Regions}}
 
}}
 
 
[[Media:File Example HAS.pdf|text link]]
 

Latest revision as of 12:23, 4 October 2024