Template:Item query: Difference between revisions

From Chinese Religious Text Authority
No edit summary
No edit summary
Line 11: Line 11:
|fields=_pageName=Entry, creator_list__full=List of Creators, format=Format, publication_places__full=Publication place(s), publishers__full=Publisher(s), date=Date, date_start=Start Date, date_end=End Date, YEAR(date)=Year
|fields=_pageName=Entry, creator_list__full=List of Creators, format=Format, publication_places__full=Publication place(s), publishers__full=Publisher(s), date=Date, date_start=Start Date, date_end=End Date, YEAR(date)=Year


|where=YEAR(date) = "1933"
|where=(title LIKE '%{{{title|}}}%' OR title_list HOLDS LIKE '%{{{title|}}}%') AND
      publication_places HOLDS LIKE '%{{{publication_place|}}}%' AND
      format LIKE '%{{{format|}}}%' AND
      creator_list HOLDS LIKE '%{{{creators|}}}%' AND
      publishers HOLDS LIKE '%{{{publisher|}}}%'  AND
      YEAR(date) = "1933"


|group by=Item_infobox._ID
|group by=Item_infobox._ID

Revision as of 17:46, 26 May 2021

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