Difference between revisions of "Template:Resources Query"

(added from till function)
(changed text)
Line 1: Line 1:
 
<noinclude>This is the 'Item query' template. It should be called via the [[Form:Resources_Query]] form.
 
<noinclude>This is the 'Item query' template. It should be called via the [[Form:Resources_Query]] form.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Opinion items that match this query (Author contains "{{{author|}}}", Source contains "{{{source|}}}"):
+
Resources that are older than "{{{year_from|}}}" but younger than "{{{year_till|}}}"):
  
{{#vardefine:xmlpath|/modsCollection/mods[originInfo/dateIssued>'{{{author|}}}' and originInfo/dateIssued<'{{{source|}}}' and originInfo/dateIssued!='-']}} {{Biblist}}
+
{{#vardefine:xmlpath|/modsCollection/mods[originInfo/dateIssued>'{{{year_from|}}}' and originInfo/dateIssued<'{{{year_till|}}}' and originInfo/dateIssued!='-']}} {{Biblist}}
  
{{#cargo_query:table=Items
 
|fields=_pageName=Title,Author,Source,Summary
 
|where=Author HOLDS LIKE "%{{{author|}}}%" AND Source LIKE "%{{{source|}}}%"
 
}}
 
 
</includeonly>
 
</includeonly>

Revision as of 13:04, 4 August 2021

This is the 'Item query' template. It should be called via the Form:Resources_Query form.