Difference between revisions of "Template:Street results"

From DAS Wiki
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>This is the 'Street results' template. It should be called via the [[Special:RunQuery/Street_search]] form.
 
<noinclude>This is the 'Street results' template. It should be called via the [[Special:RunQuery/Street_search]] form.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Streets that match this query (Address contains "{{{street|}}}"):
+
Streets that match this query (Address on {{{street|}}}):
  
{{#cargo_query:table=Buildings
+
{{#cargo_compound_query:tables=Buildings;where=address LIKE "%{{{street|}}}%"; fields=_pageName=Title,address=Address,completion_date=Completed,,architect=Architect,image=Picture
|fields=_pageName=Title,address=Address,completion_date=Completed,image=Picture
+
 
|where=address LIKE "%{{{street|}}}%"
+
|tables=Grounds;where=address LIKE "%{{{street|}}}%";fields=_pageName=Title,address=Address,opened=Completed,landscape_architect=Architect,image=Picture
 +
|order by=_pageName ASC
 +
|format=dynamic table
 +
|default=
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 07:51, July 9, 2021

This is the 'Street results' template. It should be called via the Special:RunQuery/Street_search form.