Difference between revisions of "Template:BuildingQueryMap"
Line 1: | Line 1: | ||
+ | #cargo_compound_query: | ||
+ | tables=buildings;where=building_type='Library' AND architect='{{PAGENAME}}';fields=_pageName,Geo;icon=Blue-marker.png | ||
+ | |tables=buildings;where=building_type='Church' AND architect='{{PAGENAME}}';fields=_pageName,Geo;icon=Red-marker.png | ||
+ | |tables=buildings;where=building_type='Government' AND architect='{{PAGENAME}}';fields=_pageName,Geo;icon=Brown-marker.png | ||
+ | |tables=buildings;where=building_type='Park' AND architect='{{PAGENAME}}';fields=_pageName,Geo;icon=Green-marker.png | ||
+ | |tables=buildings;where=building_type='Dwelling' AND architect='{{PAGENAME}}';fields=_pageName,Geo;icon=Yellow-marker.png | ||
+ | |tables=buildings;where=building_type='Commercial' AND architect='{{PAGENAME}}';fields=_pageName,Geo;icon=Purple-marker.png | ||
+ | |format=leaflet | ||
+ | |||
+ | |||
+ | |||
{{#cargo_query: | {{#cargo_query: | ||
table = buildings | table = buildings |
Revision as of 10:05, May 10, 2021
- cargo_compound_query:
tables=buildings;where=building_type='Library' AND architect='BuildingQueryMap';fields=_pageName,Geo;icon=Blue-marker.png |tables=buildings;where=building_type='Church' AND architect='BuildingQueryMap';fields=_pageName,Geo;icon=Red-marker.png |tables=buildings;where=building_type='Government' AND architect='BuildingQueryMap';fields=_pageName,Geo;icon=Brown-marker.png |tables=buildings;where=building_type='Park' AND architect='BuildingQueryMap';fields=_pageName,Geo;icon=Green-marker.png |tables=buildings;where=building_type='Dwelling' AND architect='BuildingQueryMap';fields=_pageName,Geo;icon=Yellow-marker.png |tables=buildings;where=building_type='Commercial' AND architect='BuildingQueryMap';fields=_pageName,Geo;icon=Purple-marker.png |format=leaflet
Library | Church | Government | Commercial | Dwelling | Park | Educational |
---|