Difference between revisions of "Template:Infobox play/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Zyxw
(add link to hidden tracking/maintenance category, add Category:Templates that add a tracking category, update comments)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Auto italic title}}
 
{{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 99: Line 99:
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{clear}}
  
==Microformat==
+
== Microformat ==
 
 
 
{{UF-hcal}}
 
{{UF-hcal}}
  
==See also==
+
== See also ==
 +
* [[:Category:Pages using infobox play with external database links]] (hidden tracking/maintenance category)
 
* {{tl|Infobox film}}
 
* {{tl|Infobox film}}
 
* {{tl|Infobox theatre}}
 
* {{tl|Infobox theatre}}
Line 114: Line 115:
  
 
<includeonly>{{basepage subpage|
 
<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>

Revision as of 23:18, 19 April 2015

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      = 
| image_size = 
| image_alt  = 
| caption    = 
| writer     = 
| 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)
| 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}})
| 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
}}   

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 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 [[Argos]]
| characters = {{plainlist|
*Watchman
*[[Clytemnestra]]
*Herald
*[[Agamemnon]]
*Messenger
*[[Cassandra]]
*[[Aegisthus]]
*Soldiers
*Servants
}}
| setting    = Argos, before the royal palace 
}}

Microformat

Template:UF-hcal

See also