قالب:Film date
الاستخدام
This template ({{Film date}}) returns auto formatting for use in the "released" parameter of {{Infobox film}}. The template applies تصنيف:Upcoming films to films unreleased and replaces it with [[تصنيف:أفلام YYYY]]
, حيث YYYY هي سنة أول عرض. It also calls {{Start date}} for the first release date.
Syntax
- {{Film date|year|month|day|location}}
This template allows up to five dates. No parameters are required. Please, however, indicate the year of release. Please see WP:FILMRELEASE for use of locations. Examples:
- {{Film date|1993}} returns:
1993 - {{Film date|1993|2}} returns:
فبراير 1993 - {{Film date|1993|2|24}} returns:
فبراير 24، 1993 - {{Film date|1993|February|24}} returns:
فبراير 24، 1993 - {{Film date|1993|2|24||2008|3}} returns:
فبراير 24، 1993
مارس 2008 - {{Film date|1993|2|24||2008|||Latvia}} returns:
فبراير 24، 1993
2008 (Latvia) - {{Film date|1993|2|24||2008|3|23}} returns:
فبراير 24، 1993
مارس 23، 2008
An optional parameter, "df", can be set to "y" or "yes" to display the day before the month. Default is month before day.
Examples:
- {{Film date|1993|2|24|df=y}} returns:
24 فبراير 1993 - {{Film date|1993|2|24||2008|||Latvia|df=y}} returns:
24 فبراير 1993
2008 (Latvia)
An optional parameter, "fy", can be set to override the automatic category. For example:
- {{Film date|1993|2|24||2008|3|23}} uses the category تصنيف:1993 films
- {{Film date|1993|2|24||2008|3|23|fy=2008}} uses the category تصنيف:2008 films.
An optional parameter, "TV", is to be used for television films. It sorts films into [[Category:YYYY television films]]
in place of [[Category:YYYY films]]
.
Redirects
See also
- {{Start date}}
- {{Nowrap}}
- {{Small}}
The above documentation is transcluded from قالب:Film date/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |