Template:Item infobox and Template:Item query: Difference between pages

From Chinese Religious Text Authority
(Difference between pages)
mNo edit summary
 
mNo edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
The Item Infobox is intended to include all the essential data relating to an item. Anything that can be inputted as an advanced search term (as opposed to a fulltext search across the entire site) should be part of this data.
This is the 'Item query' template. It should be called via the [[Form:Item query]] form.
<pre>
{{Item_infobox
|title=Most representative title in Chinese
|pinyin_title=title converted into hanyu pinyin, with a space between every syllable (don't form multi-syllable words)
|image=Image of title page or other representative image
|title_list=Can include a list of titles here
|publication_places=List of places associated with the publication of this work
|format=Is this item printed (woodblock, lithograph, or movable type?) or manuscript?
|creator_list=List of persons involved in the creation of this item, pinyin followed by Chinese characters
|dates=Text decription of dates associated with this publication
|publishers=List of publishers or other groups or individuals involved in its publication
|located_in=List of volumes where this text has been reprinted
}}
</pre>
</noinclude>
</noinclude>


{|style="background:white;color:black;width:35%;" border="1" cellpadding="3" cellspacing="0" align="right"
<includeonly>
|- style="background:#ccffff" align="center"
Results:
|<div style="font-size:140%">'''{{{title}}}'''</div>
''{{{pinyin_title}}}''
|- align="center"
| {{{image|No Image Available}}}
|-
| '''別名 Other Titles:''' {{{title_list|None}}}
|-
| '''Creators:''' {{{creator_list|None Known}}}
'''Place(s) of Publication:''' {{{publication_places|None Known}}}


'''Format:''' {{{format|Unknown}}}
{{#cargo_query:table=Item_infobox
 
|fields=_pageName=title
'''Publisher(s):''' {{{publishers|None Known}}}
|format=ul
 
|where=title LIKE '%{{{title|}}}%' AND UPPER(pinyin_title) LIKE UPPER('%{{{pinyin_title|}}}%') AND publication_places HOLDS LIKE '%{{{publication_place|}}}%' AND date > 'YEAR({{{year_min|}}})'
'''Publication Date(s):''' {{{dates|None Known}}}
}}
 
</includeonly>
'''Located In:''' {{{located_in|Unknown}}}
|}

Revision as of 10:32, 18 May 2020

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