模板:Infobox play/doc
外觀
此頁面是Template:Infobox play的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
此模板的文檔不存在、不全面或不能詳細描述其功能及/或其代碼中的參數。請幫助擴充並改進其文檔。 |
用法
[編輯]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年2月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,也請勿更改或移除有相關設定之模板及設定。