Template:Item query: Difference between revisions
From Chinese Religious Text Authority
No edit summary |
|||
Line 7: | Line 7: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Item_infobox, | tables=Item_infobox, Item_infobox__publication_places | ||
|join on=Item_infobox._ID= | |||
|fields=_pageName= | |join on=Item_infobox._ID=Item_infobox__publication_places._rowID | ||
|where= | |||
| | |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 | ||
| | |||
|format= | |where=title LIKE '%{{{title|}}}%' AND publication_places HOLDS LIKE '%{{{publication_place|}}}%' AND format LIKE '%{{{format|}}}%' | ||
|group by=Item_infobox._ID | |||
|order by="date", "date_start" | |||
|format=dynamic table | |||
|rows per page=50 | |||
|limit=10000 | |||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 12:48, 12 April 2021
This is the 'Item query' template. It should be called via the Form:Item query form.