Template:Item query: Difference between revisions
From Chinese Religious Text Authority
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Item_infobox | tables=Item_infobox | ||
|fields=_pageName=title | |fields=Item_infobox._pageName=title | ||
|format=ol | |format=ol | ||
|where=title LIKE '%{{{title|}}}%' AND UPPER(pinyin_title) LIKE UPPER('%{{{pinyin_title|}}}%') AND creator_list HOLDS LIKE '%{{{creator|}}}%' AND publication_places HOLDS LIKE '%{{{publication_place|}}}%' | |where=title LIKE '%{{{title|}}}%' | ||
AND UPPER(pinyin_title) LIKE UPPER('%{{{pinyin_title|}}}%') | |||
AND creator_list HOLDS LIKE '%{{{creator|}}}%' | |||
AND publication_places HOLDS LIKE '%{{{publication_place|}}}%' | |||
|group by=Item_infobox._pageName | |group by=Item_infobox._pageName | ||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 12:07, 20 May 2020
This is the 'Item query' template. It should be called via the Form:Item query form.