Template:Infobox play

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage[change | change source]

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[change | change source]

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

Parameters[change | change source]

{{Infobox play    
| name       = Title of play
| image      = Oldest image available if possible (filename only, e.g. Example.jpg)
| image_size = defaults to 200px
| image_alt  = Alternative text for the image
| caption    = A caption for the image
| writer     = The names of the author or authors (encloses lists with {{plainlist}})
| sources    = Source materials used in the composition of the work
| chorus     = The name of the (Greek) chorus character
| characters = List of other characters (encloses lists with {{plainlist}})
| mute       = List of characters that do not speak (encloses lists with {{plainlist}})
| 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 (encloses lists with {{plainlist}})
| 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
| theatricalia_id = Theatricalia id from http://theatricalia.com/
}}   

Note: For the date of the première, use {{startdate}} for compatibility with the hCalendar microformat. For properties with multiple values, encloses lists with {{plainlist}}

Example[change | change source]

Agamemnon
The Murder Of Agamemnon - Project Gutenberg eText 14994.png
"The Murder Of Agamemnon"
Project Gutenberg
Written by Aeschylus
Chorus Elders of Argos
Characters
Setting Argos, before the royal palace
{{Infobox play 
| name       = Agamemnon
| image      = The Murder Of Agamemnon - Project Gutenberg eText 14994.png
| caption    = "The Murder Of Agamemnon"<br/>Project Gutenberg
| writer     = [[Aeschylus]]
| chorus     = Elders of [[Argos]]
| characters = {{plainlist|
*Watchman
*[[Clytemnestra]]
*Herald
*[[Agamemnon]]
*Messenger
*[[Cassandra]]
*[[Aegisthus]]
*Soldiers
*Servants
}}
| setting    = Argos, before the royal palace 
}}

Microformat[change | change source]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project on English Wikipedia.

Sub-templates[change | change source]

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change | change source]

hCalendar uses HTML classes including:

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

Please do not rename or remove these classes; nor collapse nested elements which use them.