Template:Infobox opera/doc

From Simple English Wikipedia, the free encyclopedia

Usage[change source]

All fields are optional and should only be used when necessary and where their use would not lead to misleading over-simplification. The addition of the infobox to an article will automatically italicise the article title per {{italic title}}.

Separate multiple values using {{Flatlist}} or {{Plainlist}}.

Blank[change source]

{{Infobox opera 
| name              = 
| translated_name   =
| native_name       = 
| native_name_lang  = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| image             = 
| image_size        = 
| alt               = 
| caption           = 
| genre             = 
| other_name        = 
| composer          = 
| librettist        = 
| language          = 
| based_on          = 
| premiere_date     = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| premiere_location = 
| other             = <!-- {{Collapsible list|title=}} -->
| website           = <!-- {{URL|example.com}} -->
}}

Parameters[change source]

name

Title of the opera as it appears in the article title. This will appear at the top of the infobox above the image.

translated_name

This parameter will appear as Translation in the box. If the title of the opera article uses its native (non-English) name, use this to list the standard English name, if and only if, there is one, e.g. for Götterdämmerung, the translated name would be Twilight of the Gods. See Example 2 below. Do not use invented or ad hoc translations in this field. If there is no standard English name, leave it blank.

image

An illustrative image. This can be the composer, a scene from the opera, a depiction of one or more of its characters, a singer depicted in one of the opera's roles, a poster, the title page or cover of the libretto, etc. Avoid images with a large vertical dimension in relation to their width, as this can make the infobox excessively long and interfere with the page layout.

image_size

(e.g. 250px, 150px etc.). This parameter is available for the rare occasions when it may be desirable to force a larger or smaller image than the default, although this should generally be avoided. All of the images in the examples below use the default.

alt

alternative text for image; see WP:ALT

caption

caption for image

genre

Generally speaking, this should be simply "Opera in X acts". If there is a referenced sub-genre, the linked term can be put in parentheses, e.g. "Opera (dramma giocoso) in 4 acts". However, do not list the sub-genre if it would lead to misleading oversimplification. Sub-genre distinctions can be very blurry, and are best explicated in the article text. If a work is widely known as an operetta, e.g. The Merry Widow, or as a zarzuela, e.g. Doña Francisquita, these linked terms can be used instead of "Opera".

native_name

This parameter will appear as Native title in the box. Use this field if the title of the opera article is not the native title, e.g. If the title of the article is The Marriage of Figaro, the native name would be Le nozze di Figaro. See Example 1 below.

native_name_lang

ISO 2-letter code (e.g. it for Italian) for the language of the native name, (if more than one, use {{lang}} instead). This parameter will not be visible in the box.

other_name

This parameter will appear as Other title in the box. Use this when the opera is known by two or more names. e.g. for Le convenienze ed inconvenienze teatrali, the other name is Viva la mamma. See Example 1 below which has a name, native name, and other name.

composer

person/people who wrote the music If more than one, list them using {{plainlist}}

librettist

person/people who wrote the text. If more than one, list them using {{plainlist}} See Example 2 below.

language

the original language(s) in which the text was written. Do not list subsequent translations.

based_on

Use this to list the literary work on which the libretto was based (if any). Do not list a work here unless it is specifically mentioned and referenced in the article.

premiere_date

Use {{Start date}}. Both premiere date and location parameters will appear in the box as in a single line separated by a dash and labelled Premiere.

premiere_location

Venue and/or city.

other

This can be used for listing other operas by the same composer and their premiere dates in a collapsible list. Use {{Collapsible list}} The |title= parameter should by filled in as "Operas by X (composer's name)". See Example 3 below. This will not be necessary if the article already has a footer navbox listing the composer's operas, e.g. {{Giuseppe Verdi}}, {{Pyotr Ilyich Tchaikovsky}}, {{Antonio Vivaldi}}, etc. - If the composer does not have a footer navbox, consider to create one.

website

Official website for the opera (if any). This will apply to contemporary works only. See Example 3. Use {{URL}}.

Example 1[change source]

The Queen of Spades
by Pyotr Ilyich Tchaikovsky
Composer Pyotr Ilyich Tchaikovsky
GenreOpera in 3 acts
Native titleПиковая дама (Pikovaya dama)
Other title[Pique Dame] Error: {{Lang}}: text has italic markup (help)
LibrettistModest Ilyich Tchaikovsky
LanguageRussian
Based on"The Queen of Spades" by Pushkin
PremiereTemplate:Timeline-event
{{Infobox opera 
| name              = ''The Queen of Spades''
| native_name       = Пиковая дама (''Pikovaya dama'')
| native_name_lang  = ru
| image             = Peter Tschaikowski.jpg
| caption           = Composer Pyotr Ilyich Tchaikovsky
| genre             = Opera in 3 acts
| other_name        = {{lang|fr|''Pique Dame''}}
| composer          = '''[[Pyotr Ilyich Tchaikovsky]]'''
| librettist        = [[Modest Ilyich Tchaikovsky]]
| language          = Russian
| based_on          = "[[The Queen of Spades (story)|The Queen of Spades]]" by [[Alexander Pushkin|Pushkin]]
| premiere_date     = {{Start date|1898|12|19|df=y}}
| premiere_location = [[Mariinsky Theatre]], [[Saint Petersburg|St. Petersburg]]
}}

Example 2[change source]

La fille du régiment
by Gaetano Donizetti
Jenny Lind in the title role
GenreOpera (opéra comique) in 2 acts
TranslationThe Daughter of the Regiment
Librettist
LanguageFrench
PremiereTemplate:Timeline-event
{{Infobox opera 
| name              = ''La fille du régiment''
|translated_name    = ''The Daughter of the Regiment''
| native_name_lang  = fr
| image             = Jenny Lind Fille du regiment.jpg
| caption           = [[Jenny Lind]] in the title role 
| genre             = Opera ([[opéra comique]]) in 2 acts
| composer          = '''[[Gaetano Donizetti]]'''
| librettist        = {{Plainlist|
[[Henri Meilhac]]
[[Ludovic Halévy]]
}}
| language          = French
| premiere_date     = {{Start date|1840|02|11|df=y}}
| premiere_location = [[Opéra-Comique]], Paris
}}

Example 3[change source]

Doctor Atomic
by John Adams
Leslie Groves and J. Robert Oppenheimer, central characters in Doctor Atomic
GenreOpera in 2 acts
LibrettistPeter Sellars
LanguageEnglish
PremiereTemplate:Timeline-event
Other
Websitedoctor-atomic.com
{{Infobox opera 
| name              = ''Doctor Atomic''
| image             = Groves Oppenheimer.jpg
| caption           = [[Leslie Groves]] and [[J. Robert Oppenheimer]], central characters in ''Doctor Atomic''
| genre             = Opera in 2 acts
| composer          = '''[[John Adams (composer)|John Adams]]'''
| librettist        = [[Peter Sellars]]
| language          = English
| premiere_date     = {{Start date|2005|10|01|df=y}}
| premiere_location = [[San Francisco Opera]]
| website           = {{URL|doctor-atomic.com}}
| other             = {{Collapsible list |title=Operas by John Adams
|''[[Nixon in China (opera)|Nixon in China]]'' (1987)
|''[[The Death of Klinghoffer]]'' (1991) 
|''[[I Was Looking at the Ceiling and Then I Saw the Sky]]'' (1995) 
|''[[El Niño (oratorio)|El Niño]]'' (2000)
|''[[Doctor Atomic]]'' (2005)
|''[[A Flowering Tree]]'' (2006)
}}
}}

Example 4[change source]

The Demon Editor of Wikipedia
by John Smith
A drawing of the devil
An example image
GenreOperetta in 3 acts
Native titleIl diavolo di Wikipedia
Other titleWiki Devil
LibrettistJane Doe
LanguageItalian
PremiereTemplate:Timeline-event
Websiteexample.com
{{Infobox opera 
| name              = ''The Demon Editor of Wikipedia''
| native_name       = ''Il diavolo di Wikipedia''
| native_name_lang  = it
| image             = Backer Judgment (detail).JPG
| alt               = A drawing of the devil
| caption           = An example image
| genre             = Operetta
| other_name        = ''Wiki Devil''
| composer          = John Smith
| librettist        = Jane Doe
| language          = Italian
| premiere_date     = {{Start date|2013|03|18|df=y}}
| premiere_location = Toytown
| website           = {{URL|example.com}}
}}

Microformat[change source]

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 on English Wikipedia.

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.