Template:Movie date
Usage
changeThis template ({{movie date}}) returns auto formatting for use in the "released" parameter of {{Infobox movie}}. The template applies Category:Upcoming movies to movies unreleased and replaces it with [[Category:YYYY movies]]
, where YYYY is the year of first release, on the day of release. It also calls {{Start date}} for the first release date.
Syntax
change- {{movie date|year|month|day|location}}
This template allows up to five dates. No parameters are required. Please, however, indicate the year of release.
Examples:
What you code | What you see |
---|---|
{{movie date|1993}} |
|
{{movie date|1993|2}} |
|
{{movie date|1993|2|24}} |
|
{{movie date|1993|February|24}} |
|
{{movie date|1993|2|24||2008|3}} |
|
{{movie date|1993|2|24||2008|||Latvia}} |
|
{{movie date|1993|2|24||2008|3|23}} |
|
An optional parameter, "df", can be set to "y" or "yes" to display the day before the month. Default is month before day.
Examples:
What you code | What you see |
---|---|
{{movie date|1993|2|24|df=y}} |
|
{{movie date|1993|2|24||2008|||Latvia|df=y}} |
|
An optional parameter, "fy", can be set to override the automatic category. For example:
What you code | Category used |
---|---|
{{movie date|1993|2|24||2008|3|23}} | Category:1993 movies |
{{movie date|1993|2|24||2008|3|23|fy=2008}} | Category:2008 movies |
An optional parameter, "TV", is to be used for television movies. It sorts movies into [[Category:YYYY television movies]]
in place of [[Category:YYYY movies]]
.
Related pages
change- {{Start date}}
- {{Nowrap}}
- {{Small}}