Template:Item query: Difference between revisions

From Chinese Religious Text Authority
No edit summary
No edit summary
Line 11: Line 11:
|fields=_pageName=Page,pinyin_title=pinyin title,title_list__full=title list,publication_places__full=publication places,format=format,creator_list__full=creator list,date=date,date_start=date start,date_end=date end,publishers__full=publishers
|fields=_pageName=Page,pinyin_title=pinyin title,title_list__full=title list,publication_places__full=publication places,format=format,creator_list__full=creator list,date=date,date_start=date start,date_end=date end,publishers__full=publishers
|where=title LIKE '%{{{title|}}}%' AND UPPER(pinyin_title) LIKE '%{{{pinyin_title|}}}%' AND creator_list HOLDS LIKE '%{{{creator|}}}%'
|where=title LIKE '%{{{title|}}}%' AND UPPER(pinyin_title) LIKE '%{{{pinyin_title|}}}%' AND creator_list HOLDS LIKE '%{{{creator|}}}%'
|group by=Page,pinyin_title,title_list,publication places,format,creator list,date,date start,date end,publishers
|group by=Page,pinyin_title,title_list,publication_places,format,creator_list,date,date_start,date_end,publishers
|order by="date", "date_start", "_pageName", "publication_places__full"
|order by="date", "date_start", "_pageName", "publication_places__full"
|limit=3000
|limit=3000
}}
}}
</includeonly>
</includeonly>

Revision as of 11:54, 8 April 2021

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