Difference between revisions of "Template:Elsewhere results"

From DAS Wiki
Line 3: Line 3:
 
Records that match this query (City = {{{city|}}}):
 
Records that match this query (City = {{{city|}}}):
  
{{#if: "{{{city|}}}"="Baltimore"|
+
{{#if: "{{{city|}}}"="Baltimore"|1
 
{{#cargo_compound_query:tables=Buildings;where=city ="";fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
 
{{#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
 
}}
 
}}
|{{#cargo_compound_query:tables=Buildings;where=city LIKE "%{{{city|}}}%";fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
+
|2{{#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

Revision as of 14:25, July 7, 2021

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