الگو:Infobox play

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]


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     = 
| chorus     = 
| characters = 
| mute       = 
| setting    = 
| premiere   = <!-- {{تاریخ آغاز|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 {{فهرست ساده}})
| chorus     = The name of the (Greek) chorus character
| characters = List of other characters (enclose lists with {{فهرست ساده}})
| mute       = List of characters that do not speak (enclose lists with {{فهرست ساده}})
| 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 {{فهرست ساده}})
| 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 میکروفرمت. 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
Gérin Clytemnestre hésitant avant de frapper Agamemnon endormi Louvre 5185.jpg
"The Murder of Agamemnon"
by Pierre-Narcisse Guérin
نوشته‌شده توسطآیسخولوس
هم‌سراهاElders of آرگوس (یونان)
شخصیت‌ها
زمینه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     = [[آیسخولوس]]
| chorus     = Elders of [[آرگوس (یونان)]]
| characters = {{فهرست ساده|
*Watchman
*[[کلوتایمنسترا]]
*Herald
*[[آگاممنون]]
*Messenger
*[[کاساندرا]]
*[[آیگیستوس]]
*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[ویرایش]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details تجزیه‌کننده by computers, either acting automatically to catalogue article 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.

Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates).

hCalendar uses HTML classes including:

  • "dtend"
  • "dtstart"
  • "location"
  • "summary"
  • "vevent"


Tracking category[ویرایش]

See also[ویرایش]