Template:Item infobox: Difference between revisions

From Chinese Religious Text Authority
mNo edit summary
No edit summary
(38 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|title=String
|title=String
|pinyin_title=String
|pinyin_title=String
|dates=List (,) of Integer
|title_list=List (,) of String
|publication_places=List (,) of String
|format=String (allowed values=木刻版,石印版,活字版,寫本)
|creator_list=List (,) of String
|date=Date
|date_start=Start date
|date_end=End date
|publishers=List (,) of String
}}
}}


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.
The '''Item Infobox''' template 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. Any field that has a Format specified should follow that format, so that the data can be indexed for the search function. '''Note''' - If you do not have info for a field, please leave the line after the = blank.  


<pre>
<pre>
  |title=Most representative title in Chinese
  |title=Most representative title in Chinese; Format: String
  |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
  |pinyin_title=Title converted into hanyu pinyin, with a space between every syllable (don't form multi-syllable words); Format: String
  |title_list=List of alternate titles if any, Chinese characters only
 
  |publication_places=List of places associated with the publication of this work
  |image=Image of title page or other representative image (not indexed for search)
  |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
  |title_list=List of alternate titles if any, Chinese characters only; Format: List of Strings separated by a comma
  |dates=Text decription of dates associated with this publication
 
  |publishers=List of publishers or other groups or individuals involved in its publication
  |publication_places=List of places associated with the publication of this work, include both historical names and contemporary names; Format: List of Strings separated by a comma
  |located_in=List of volumes where this text has been reprinted
 
  |format=Select one of the following: 木刻版, 石印版, 活字版, 寫本; Format: String
 
  |creator_list=List of persons involved in the creation of this item, Chinese characters only; Format: List of Strings separated by a comma
 
  |date=Most representative CE date of publication; Format: CE year
 
|date_start=If this is a series or a periodical, the first CE year of publication
 
|date_end=Final CE year of publication - note that entries must include both or neither of date_start and date_end
 
  |publishers=List of publishers or other groups or individuals involved in its publication, Chinese characters only; Format: List of Strings separated by a comma
 
  |located_in=List of volumes where this text has been reprinted, links to collection page if any (not indexed for search)
 
</pre>
</pre>


Line 27: Line 48:
<includeonly>
<includeonly>
{{#cargo_store:_table=Item_infobox
{{#cargo_store:_table=Item_infobox
|dates={{{dates|}}}
|title={{{title|}}}
|pinyin_title={{{pinyin_title|}}}
|title_list={{{title_list|}}}
|publication_places={{{publication_places|}}}
|format={{{format|}}}
|creator_list={{{creator_list|}}}
|date={{{date|}}}
|date_start={{{date_start|}}}
|date_end={{{date_end|}}}
|publishers={{{publishers|}}}
}}
}}
{|style="background:white;color:black;width:35%;" border="1" cellpadding="3" cellspacing="0" align="right"
{|style="background:white;color:black;width:35%;" border="1" cellpadding="3" cellspacing="0" align="right"
|- style="background:#ccffff" align="center"
|- style="background:#ccffff" align="center"
|<div style="font-size:140%">'''{{{title}}}'''</div>
| <div style="font-size:140%">'''{{{title}}}'''</div><br>''{{{pinyin_title}}}''
''{{{pinyin_title}}}''
|- align="center"
|- align="center"
| {{{image|No Image Available}}}
| {{{image|No Image Available}}}
Line 39: Line 67:
| '''別名 Other Titles:''' {{{title_list|None}}}
| '''別名 Other Titles:''' {{{title_list|None}}}
|-
|-
| '''Creators:''' {{{creator_list|None Known}}}
| '''有關人物 Associated Persons:''' {{{creator_list|None Known}}}
'''Place(s) of Publication:''' {{{publication_places|None Known}}}
 
'''出版地區 Place(s) of Publication:''' {{{publication_places|None Known}}}


'''Format:''' {{{format|Unknown}}}
'''版式 Format:''' {{{format|Unknown}}}


'''Publisher(s):''' {{{publishers|None Known}}}
'''出版者 Publisher(s):''' {{{publishers|None Known}}}


'''Publication Date(s):''' {{{dates|None Known}}}
{{#ifeq:{{{date|+}}}|{{{date|-}}}|
'''出版年 Publication Date:''' {{{date|None Known}}}
| }}{{#ifeq:{{{date_start|+}}}|{{{date_start|-}}}|
'''出版年間 Publication Period:''' {{{date_start|}}} - {{{date_end|}}}
| }}


'''Located In:''' {{{located_in|Unknown}}}
'''載於 Located In:''' {{{located_in|Unknown}}}
|}
|}
</includeonly>
</includeonly>

Revision as of 20:20, 17 October 2020

This template defines the table "Item_infobox". View table.

The Item Infobox template 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. Any field that has a Format specified should follow that format, so that the data can be indexed for the search function. Note - If you do not have info for a field, please leave the line after the = blank.

 |title=Most representative title in Chinese; Format: String

 |pinyin_title=Title converted into hanyu pinyin, with a space between every syllable (don't form multi-syllable words); Format: String

 |image=Image of title page or other representative image (not indexed for search)

 |title_list=List of alternate titles if any, Chinese characters only; Format: List of Strings separated by a comma

 |publication_places=List of places associated with the publication of this work, include both historical names and contemporary names; Format: List of Strings separated by a comma

 |format=Select one of the following: 木刻版, 石印版, 活字版, 寫本; Format: String

 |creator_list=List of persons involved in the creation of this item, Chinese characters only; Format: List of Strings separated by a comma

 |date=Most representative CE date of publication; Format: CE year

 |date_start=If this is a series or a periodical, the first CE year of publication

 |date_end=Final CE year of publication - note that entries must include both or neither of date_start and date_end

 |publishers=List of publishers or other groups or individuals involved in its publication, Chinese characters only; Format: List of Strings separated by a comma

 |located_in=List of volumes where this text has been reprinted, links to collection page if any (not indexed for search)