Edge Rewrite
Jump to content

Template:Infobox play/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

[edit]
{{{name}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
Original title{{{original_title}}}
Original language{{{original_language}}}
Written by{{{writer}}}
Based on{{{based_on}}}
Music by{{{music}}}
Lyrics by{{{lyrics}}}
Chorus{{{chorus}}}
Characters{{{characters}}}
Mute{{{mute}}}
First publication{{{first_publication}}}
Series{{{series}}}
Subject{{{subject}}}
Genre{{{genre}}}
Setting{{{setting}}}
Premiere
Date{{{premiere_date}}}
Place{{{premiere_place}}}
Directed by{{{premiere_director}}}
Original run{{{original_run}}}
{{{website}}}
{{{chronology}}} chronology
{{{last_play}}}
{{{next_play}}}
{{Infobox play
| name              = 
| image             = 
| alt               = 
| caption           = 
| original_title    = 
| writer            = 
| based_on          = <!-- {{based on|title of the original work|creator of the original work}} -->
| music             = 
| lyrics            = 
| chorus            = 
| characters        = 
| mute              = 
| original_language = 
| first_publication = 
| series            = 
| subject           = 
| genre             = 
| setting           = 
| premiere_date     = <!-- {{Start date|YYYY|MM|DD}} -->
| premiere_place    = 
| premiere_director =
| original_run      = 
| website           = 
| chronology        = 
| last_play         = 
| next_play         = 
}}

Parameters

[edit]
Parameter Description
|name= Title of play
|image= Oldest image available if possible (filename only, e.g. Example.jpg)
|alt= Alternative text for the image
|caption= Caption for the image
|original_title= Original title
|writer= The names of the author or authors (enclose lists with {{plainlist}})
|based_on= The title of the source material and the name(s) of the source material writer(s), if the play is based on previously produced or published material
|music= Names of the composer or composers (enclose lists with {{plainlist}})
|lyrics= Names of the lyricist or lyricists (enclose lists with {{plainlist}})
|chorus= The name of the (Greek) chorus character
|characters= List of other characters (enclose lists with {{plainlist}})
|mute= List of characters that do not speak (enclose lists with {{plainlist}})
|original_language= The language it was originally written in.
|first_publication=
|series= List related plays if it is a part of a series (enclose lists with {{plainlist}})
|subject= The overall subject matter dealt with by the play
|genre= The play's genre.
|setting= The places and time where the play takes place
|premiere_date= The date it was first performed. Use {{startdate}} for compatibility with the hCalendar microformat. For properties with multiple values, encloses lists with {{plainlist}}
|premiere_place= The theatre and/or city it was first performed in.
|premiere_director= The original director of the play when it premiered.
|original_run= Original run
|website= URL of the official website (use Official website)
|chronology= If the play is one in a series by the same author, you may use |last_play= and |next_play= to link to the previous and next play in the series. By default, the heading for this section is set to the writer's name. To override this choice, use |chronology=.
|last_play=
|next_play=


Example

[edit]
Agamemnon
The Murder of Agamemnon
by Pierre-Narcisse Guérin
Written byAeschylus
ChorusElders of Argos
Characters
SettingArgos, before the royal palace
{{Infobox play
| name       = Agamemnon
| image      = Murder of agamemnon.jpg
| caption    = "The Murder of Agamemnon"<br />by Pierre-Narcisse Guérin
| writer     = [[Aeschylus]]
| chorus     = Elders of [[Ancient Argos|Argos]]
| characters = {{plainlist|
*Watchman
*[[Clytemnestra]]
*Herald
*[[Agamemnon]]
*Messenger
*[[Cassandra]]
*[[Aegisthus]]
*Soldiers
*Servants
}}
| setting    = Argos, before the royal palace
}}

Controlling line-breaking in embedded bulletless lists

[edit]

Template {{nbsp}} may be used with {{wbr}} and {{nowrap}} to control line-breaking in bulletless lists embedded in the infobox (e.g. characters, writers, and other content marked up with {{plainlist}}), to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc#Controlling line-breaking in infoboxes for details.

Microformat

[edit]

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • 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.

Tracking categories

[edit]

Template data

[edit]

See also

[edit]