Difference between revisions of "Template:Elsewhere results"

From DAS Wiki
(Created page with "<noinclude>This is the 'Elsewhere results' template. It should be called via the Special:RunQuery/Elsewhere_search form. </noinclude><includeonly> Records that match this...")
 
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>This is the 'Elsewhere results' template. It should be called via the [[Special:RunQuery/Elsewhere_search]] form.
 
<noinclude>This is the 'Elsewhere results' template. It should be called via the [[Special:RunQuery/Elsewhere_search]] form.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Records that match this query (City = "{{{street|}}}"):
+
Records that match this query (City is {{{city|}}}):
 
 
{{#cargo_compound_query:tables=Buildings;where=city LIKE "%{{{city|}}}%"; fields=_pageName=Title,address=Address,completion_date=Completed,image=Picture
 
  
 +
{{#ifeq: {{{city|}}}|Baltimore
 +
|{{#cargo_compound_query:tables=Buildings;where=city IS NULL; fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
 +
|order by=_pageName ASC
 +
|format=dynamic table
 +
}}
 +
|{{#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
 
|order by=_pageName ASC
 
|format=dynamic table
 
|format=dynamic table
 
|default=
 
|default=
 +
}}
 
}}
 
}}
 
</includeonly>
 
</includeonly>

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

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