Difference between revisions of "Template:Infobox play/doc"
imported>Pigsonthewing (update) |
imported>RL0919 (document based_on field) |
||
| (25 intermediate revisions by 17 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| + | {{Auto italic title}} | ||
| − | ==Usage== | + | == Usage == |
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. | 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== | + | === Blank template === |
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
| Line 11: | Line 12: | ||
| name = | | name = | ||
| image = | | image = | ||
| − | | | + | | alt = |
| − | |||
| caption = | | caption = | ||
| writer = | | writer = | ||
| + | | based_on = <!-- {{based on|title of the original work|creator of the original work}} --> | ||
| chorus = | | chorus = | ||
| characters = | | characters = | ||
| Line 26: | Line 27: | ||
| genre = | | genre = | ||
| web = | | web = | ||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| − | == Parameters == | + | === Parameters === |
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
| Line 39: | Line 36: | ||
| name = Title of play | | name = Title of play | ||
| image = Oldest image available if possible (filename only, e.g. Example.jpg) | | image = Oldest image available if possible (filename only, e.g. Example.jpg) | ||
| − | | | + | | alt = Alternative text for the image |
| − | |||
| caption = A caption for the image | | caption = A caption for the image | ||
| − | | writer = The names of the author or authors ( | + | | 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 | ||
| chorus = The name of the (Greek) chorus character | | chorus = The name of the (Greek) chorus character | ||
| − | | characters = List of other characters ( | + | | characters = List of other characters (enclose lists with {{plainlist}}) |
| − | | mute = List of characters that do not speak ( | + | | mute = List of characters that do not speak (enclose lists with {{plainlist}}) |
| setting = The places and time where the play takes place | | setting = The places and time where the play takes place | ||
| premiere = The date it was first performed; (see below) | | premiere = The date it was first performed; (see below) | ||
| place = The theatre and/or city it was first performed in | | place = The theatre and/or city it was first performed in | ||
| orig_lang = The language it was originally written in | | orig_lang = The language it was originally written in | ||
| − | | series = List related plays if it is part of a series ( | + | | 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 | | subject = The overall subject matter dealt with by the play | ||
| genre = The play's genre | | genre = The play's genre | ||
| web = URL of the official website | | web = URL of the official website | ||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| − | Note: | + | Note: For the date of the première, use {{tl|startdate}} for compatibility with the [[hCalendar]] [[microformat]]. For properties with multiple values, encloses lists with {{Tl|plainlist}} |
| + | ; Chronology | ||
| + | If the play is one in a series by the same author, you may use {{para|last_play}} and {{para|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 {{para|chronology}}. | ||
| − | ==Example== | + | ===Example=== |
{{Infobox play | {{Infobox play | ||
| name = Agamemnon | | name = Agamemnon | ||
| − | | image = | + | | image = Gérin Clytemnestre hésitant avant de frapper Agamemnon endormi Louvre 5185.jpg |
| caption = "The Murder of Agamemnon"<br/>by Pierre-Narcisse Guérin | | caption = "The Murder of Agamemnon"<br/>by Pierre-Narcisse Guérin | ||
| writer = [[Aeschylus]] | | writer = [[Aeschylus]] | ||
| − | | chorus = Elders of [[Argos]] | + | | chorus = Elders of [[Ancient Argos|Argos]] |
| − | | characters = {{ | + | | characters = {{plainlist| |
| + | *Watchman | ||
| + | *[[Clytemnestra]] | ||
| + | *Herald | ||
| + | *[[Agamemnon]] | ||
| + | *Messenger | ||
| + | *[[Cassandra]] | ||
| + | *[[Aegisthus]] | ||
| + | *Soldiers | ||
| + | *Servants | ||
| + | }} | ||
| setting = Argos, before the royal palace | | setting = Argos, before the royal palace | ||
}} | }} | ||
| Line 79: | Line 84: | ||
| caption = "The Murder of Agamemnon"<br />by Pierre-Narcisse Guérin | | caption = "The Murder of Agamemnon"<br />by Pierre-Narcisse Guérin | ||
| writer = [[Aeschylus]] | | writer = [[Aeschylus]] | ||
| − | | chorus = Elders of [[Argos]] | + | | chorus = Elders of [[Ancient Argos|Argos]] |
| − | | characters = {{ | + | | characters = {{plainlist| |
| + | *Watchman | ||
| + | *[[Clytemnestra]] | ||
| + | *Herald | ||
| + | *[[Agamemnon]] | ||
| + | *Messenger | ||
| + | *[[Cassandra]] | ||
| + | *[[Aegisthus]] | ||
| + | *Soldiers | ||
| + | *Servants | ||
| + | }} | ||
| setting = Argos, before the royal palace | | setting = Argos, before the royal palace | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
| − | == | + | === Controlling line-breaking in embedded bulletless lists === |
| + | Template {{tlx|nbsp}} may be used with {{tlx|wbr}} and {{tlx|nowrap}} to control line-breaking in bulletless lists embedded in the infobox (e.g. characters, writers, and other content marked up with {{tlx|plainlist}}), to prevent wrapped long entries from being confused with multiple entries. See [[Template:Wbr/doc#Controlling line-breaking in infoboxes]] for details. | ||
| + | == Microformat == | ||
{{UF-hcal}} | {{UF-hcal}} | ||
| − | ==See also== | + | == Tracking category == |
| + | * {{clc|Pages using infobox play with external database links}} | ||
| + | |||
| + | == See also == | ||
* {{tl|Infobox film}} | * {{tl|Infobox film}} | ||
| − | * {{tl|Infobox | + | * {{tl|Infobox theatre}} |
| + | * {{tl|IBDB title}} | ||
| + | * {{tl|IBDB show}} | ||
| + | * {{tl|iobdb title}} | ||
| + | * {{tl|iobdb show}} | ||
| + | * {{tl|theatricalia}} | ||
| − | <includeonly> | + | <includeonly>{{basepage subpage| |
| + | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Arts and culture infobox templates|Play]] | [[Category:Arts and culture infobox templates|Play]] | ||
[[Category:Theatre infobox templates|Play]] | [[Category:Theatre infobox templates|Play]] | ||
| − | + | [[Category:Templates that add a tracking category]] | |
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | </includeonly> | ||
Latest revision as of 04:44, 27 December 2020
| This is a documentation subpage for Template:Infobox play. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force. |
Contents
Usage
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 =
| alt =
| caption =
| writer =
| based_on = <!-- {{based on|title of the original work|creator of the original work}} -->
| chorus =
| characters =
| mute =
| setting =
| premiere = <!-- {{Start date|YYYY|MM|DD}} -->
| place =
| orig_lang =
| series =
| subject =
| genre =
| web =
}}
Parameters
{{Infobox play
| name = Title of play
| image = Oldest image available if possible (filename only, e.g. Example.jpg)
| alt = Alternative text for the image
| caption = A caption for the image
| 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
| 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}})
| 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 a part of a series (enclose lists with {{plainlist}})
| subject = The overall subject matter dealt with by the play
| genre = The play's genre
| web = URL of the official website
}}
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}}
- 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=.
Example
| Agamemnon | |
|---|---|
| File:Gérin Clytemnestre hésitant avant de frapper Agamemnon endormi Louvre 5185.jpg "The Murder of Agamemnon" by Pierre-Narcisse Guérin | |
| Written by | Aeschylus |
| Chorus | Elders of Argos |
| Characters |
|
| Setting | Argos, 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
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
Tracking category
See also
- {{Infobox film}}
- {{Infobox theatre}}
- {{IBDB title}}
- {{IBDB show}}
- {{iobdb title}}
- {{iobdb show}}
- {{theatricalia}}