模板:Infobox play

維基百科,自由的百科全書
(重新導向自Template:Infobox Play
[[Image:{{{image}}}|200px]]
{{{caption}}}
劇作家{{{writer}}}
合唱{{{chorus}}}
角色{{{characters}}}
Mute{{{mute}}}
首演日期{{{premiere}}}
首演地點{{{place}}}
原語言{{{orig_lang}}}
系列{{{series}}}
主題{{{subject}}}
類型{{{genre}}}
設定{{{setting}}}
[{{{web}}} 官方網站]
Playbill listing
IBDB介紹
IOBDB介紹
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

用法[編輯]

See this template's talk page for more information about using this template in articles about Plays.

To use the template, copy the following into an article and fill in the appropriate sections. There is no need to delete unwanted sections.

All fields are optional.

Blank template[編輯]

   
{{Infobox play
| name       = 
| image      = 
| image_size = 
| caption    = 
| writer     = 
| chorus     = 
| characters = 
| mute       = 
| setting    = 
| premiere   = <!-- {{Start date|YYYY|MM|DD}} -->
| place      = 
| orig_lang  = 
| series     = 
| subject    = 
| genre      = 
| web        = 
| playbill   = 
| ibdb_id    = 
| iobdb_id   = 
}}

Parameters[編輯]

{{Infobox play    
| name       = Title of play
| image      = Oldest image available if possible (filename only, e.g. Example.jpg)
| image_size = defaults to 200px
| caption    = A caption for the image
| writer     = The names of the author or authors (separate with <br/>)
| chorus     = The name of the (Greek) chorus character
| characters = List of other characters (separate with <br/>)
| mute       = List of characters that do not speak (separate with <br/>)
| setting    = The places and time where the play takes place
| premiere   = The date it was first performed; (see below)
| place      = The theatre and/or city it was first performed in
| orig_lang  = The language it was originally written in
| series     = List related plays if it is part of a series (separate with <br/>)
| subject    = The overall subject matter dealt with by the play
| genre      = The play's genre
| web        = URL of the official website
| playbill   = Playbill event number from http://www.playbill.com/events/listing/1.html
| ibdb_id    = Internet Broadway Database ID from http://www.ibdb.com/
| iobdb_id   = Lortel Archives Internet Off-Broadway database "show id" from http://www.lortel.org
}}   

Note: for the date of the première, use {{startdate}} for compatibility with the hCalendar microformat, once implemented.

Example[編輯]

培爾·金特
培爾·金特劇照 (1876)
劇作家亨利克·易卜生
首演日期1876年2月24日 (1876-02-24)
首演地點克里斯蒂安尼亞(今奧斯陸)
原語言挪威語
類型浪漫主義歌劇
{{Infobox Play
| name       = 培尔·金特
| image      = Henrik-Klausen-Peer-Gynt-1876.jpg
| caption    = 培尔·金特剧照 (1876)
| writer     = [[亨利克·易卜生]]
| premiere   = {{Start date|1876|02|24}}
| place      = 克里斯蒂安尼亚(今[[奥斯陆]])
| orig_lang  = [[挪威语]]
| genre      = [[浪漫主义]][[歌剧]]
}}

Microformat[編輯]

此模板產生的HTML標記包含了hCalendar微格式,能夠讓電腦解析事件的詳情,便於維基百科將該條目歸類,或讓用戶通過瀏覽器將該事件添加進日曆或日記應用程式中。關於微格式的更多使用資訊,請參閱維基百科的微格式專題

日期只會在使用了{{Start date}}或{{End date}}的情況下顯示,URL只會在使用了{{Url}}的情況下被包含。

hCalendar使用的HTML class包括:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

請勿移除或修改這些class,也請勿更改或移除有相關設定之模板及設定。