用法

编辑

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,也请勿更改或移除有相关设定之模板及设定。