Difference between revisions of "Template:Resources Query"

(added from till function)
m
 
(16 intermediate revisions by the same user not shown)
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|}}}"):
+
You are searching for resources that were published after {{{year_from|}}} and before {{{year_till|}}}. They have the key word "{{{key_word|}}}" and the language "{{{language}}}" assigned to them. <br/><strong>Only resources that can be found as an analog mediua in a library are displayed.</strong>
  
{{#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 subject/topic='{{{key_word}}}' and language/languageTerm='{{{language}}}' and location/physicalLocation!='-']}} {{SearchQueries}}
  
{{#cargo_query:table=Items
 
|fields=_pageName=Title,Author,Source,Summary
 
|where=Author HOLDS LIKE "%{{{author|}}}%" AND Source LIKE "%{{{source|}}}%"
 
}}
 
 
</includeonly>
 
</includeonly>

Latest revision as of 17:32, 9 August 2021

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