Difference between revisions of "Template:Elsewhere state results"

From DAS Wiki
 
Line 4: Line 4:
  
 
{{#ifeq: {{{state|}}}|Maryland
 
{{#ifeq: {{{state|}}}|Maryland
|{{#cargo_compound_query:tables=Buildings;where=state IS NULL; fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
+
|1{{#cargo_compound_query:tables=Buildings;where=state IS NULL; 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=state LIKE "%{{{state|}}}%";fields=_pageName=Title,address=Address,completion_date=Completed,architect=Architect,image=Picture
+
|2{{#cargo_compound_query:tables=Buildings;where=state LIKE "%{{{state|}}}%";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

Latest revision as of 23:20, July 7, 2021

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