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 searched for 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=Pinyin and Chinese character title of the work; if there are several, then choose the most representative title
|image=Image of title page or other representative image
|title_list=Can include a list of titles here
|Brief Description=Brief description of what the item is
|publication_places=List of places associated with the publication of this work
|format=Is this item printed (woodblock 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
|external_links=Can include a list of links to other resources here
}}
</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:120%">'''{{{title}}}'''</div>
|- align="center"
| {{{image|No Image Available}}}
|-
| '''Other Titles:''' {{{title_list|None}}}
'''Brief Description:''' {{{description|None Available}}}
|-
| '''Creators:''' {{{creator_list|None Known}}}
|-
| '''Place(s) of Publication:''' {{{publication_places|None Known}}}
'''Format:''' {{{format|Unknown}}}


'''Publisher(s):''' {{{publishers|None Known}}}
{{#cargo_query:table=Item_infobox
 
|fields=_pageName=title
'''Publication Date(s):''' {{{dates|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|}}})'
}}
</includeonly>

Revision as of 10:32, 18 May 2020

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