Difference between revisions of "Template:BuildingQueryMap"

From DAS Wiki
Line 1: Line 1:
 
{{#cargo_compound_query:
 
{{#cargo_compound_query:
tables=buildings;where=building_type='Library' AND (architect='{{PAGENAME}}' OR architecture_firm='{{PAGENAME}}' OR landscape_architect='{{PAGENAME}}' OR contractors HOLDS '{{PAGENAME}}');fields=_pageName,Geo,completion_date;icon=Blue-marker.png
+
tables=Grounds;where=type HOLDS 'Park' AND (landscape_architect='{{PAGENAME}}' OR builder HOLDS '{{PAGENAME}}' OR other_designers HOLDS '{{PAGENAME}}');fields=Grounds._pageName,Geo_center,opened;icon=Green-marker.png
 +
 
 +
 
 +
|tables=buildings;where=building_type='Library' AND (architect='{{PAGENAME}}' OR architecture_firm='{{PAGENAME}}' OR landscape_architect='{{PAGENAME}}' OR contractors HOLDS '{{PAGENAME}}');fields=_pageName,Geo,completion_date;icon=Blue-marker.png
 
|tables=buildings;where=building_type='Library' AND (ren_architect='{{PAGENAME}}' OR ren_firm='{{PAGENAME}}' OR ren_l_a='{{PAGENAME}}' OR ren_contractors HOLDS '{{PAGENAME}}');fields=_pageName,Geo,renovation_date;icon=Blue-marker.png
 
|tables=buildings;where=building_type='Library' AND (ren_architect='{{PAGENAME}}' OR ren_firm='{{PAGENAME}}' OR ren_l_a='{{PAGENAME}}' OR ren_contractors HOLDS '{{PAGENAME}}');fields=_pageName,Geo,renovation_date;icon=Blue-marker.png
  
Line 21: Line 24:
 
|tables=buildings;where=building_type='Educational' AND (ren_architect='{{PAGENAME}}' OR ren_firm='{{PAGENAME}}' OR ren_l_a='{{PAGENAME}}' OR ren_contractors HOLDS '{{PAGENAME}}');fields=_pageName,Geo,renovation_date;icon=Orange-marker.png
 
|tables=buildings;where=building_type='Educational' AND (ren_architect='{{PAGENAME}}' OR ren_firm='{{PAGENAME}}' OR ren_l_a='{{PAGENAME}}' OR ren_contractors HOLDS '{{PAGENAME}}');fields=_pageName,Geo,renovation_date;icon=Orange-marker.png
  
|tables=Grounds;where=type HOLDS 'Park' AND (landscape_architect='{{PAGENAME}}' OR builder HOLDS '{{PAGENAME}}' OR other_designers HOLDS '{{PAGENAME}}');fields=Grounds._pageName,Geo_center,opened;icon=Green-marker.png
 
  
 
|format=leaflet
 
|format=leaflet

Revision as of 10:21, June 18, 2021

Error: No field named "Geo_center" found for any of the specified database tables.
Library Blue-marker.png Church Red-marker.png Government Brown-marker.png Commercial Purple-marker.png Dwelling Yellow-marker.png Park Green-marker.png Educational Orange-marker.png