Difference between revisions of "Template:Elsewhere results"

From DAS Wiki
Line 2: Line 2:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
Records that match this query (City = {{{city|}}}):
 
Records that match this query (City = {{{city|}}}):
 
+
{{#if {{{city|}}}|{{#cargo_compound_query:tables=Buildings;where=city LIKE "%{{{city|}}}%"; fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
{{#cargo_compound_query:tables=Buildings;where=city LIKE "%{{{city|}}}%"; fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
+
|order by=_pageName ASC
 
+
|format=dynamic table
 +
|default=
 +
}}|{{#cargo_compound_query:tables=Buildings;where=city =""; fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
 
|order by=_pageName ASC
 
|order by=_pageName ASC
 
|format=dynamic table
 
|format=dynamic table

Revision as of 14:15, July 7, 2021

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