Difference between revisions of "Template:Elsewhere state results"

From DAS Wiki
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>This is the 'Elsewhere state results' template. It should be called via the [[Special:RunQuery/Elsewhere_search]] form.
 
<noinclude>This is the 'Elsewhere state results' template. It should be called via the [[Special:RunQuery/Elsewhere_search]] form.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Records that match this query (State = {{{state|}}}):
+
Records that match this query (State is {{{state|}}}):
  
 
{{#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.