Template:Item query: Difference between revisions

From Chinese Religious Text Authority
No edit summary
No edit summary
Line 7: Line 7:


{{#cargo_query:
{{#cargo_query:
tables=Item_infobox=Infobox
tables=Item_infobox=Infobox, Item_infobox.title_list=TitleList


|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
|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


|where=Infobox.title LIKE '%{{{title|}}}%' AND Infobox.title_list HOLDS LIKE '%{{{title|}}}%' AND Infobox.publication_places HOLDS LIKE '%{{{publication_place|}}}%' AND Infobox.format LIKE '%{{{format|}}}%'
|where=Infobox.title LIKE '%{{{title|}}}%' AND TitleList HOLDS LIKE '%{{{title|}}}%' AND Infobox.format LIKE '%{{{format|}}}%'


|group by=Infobox._ID
|group by=Infobox._ID

Revision as of 12:09, 12 April 2021

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