Template:Movie date/doc

< Template:Movie date(Redirected from Template:Film date/doc)

Usage

This 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

  • {{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}}
  • 1993 (1993)
{{movie date|1993|2}}
  • February 1993 (1993-02)
{{movie date|1993|2|24}}
  • February 24, 1993 (1993-02-24)
{{movie date|1993|February|24}}
  • February 24, 1993 (1993-February-24)
{{movie date|1993|2|24||2008|3}}
  • February 24, 1993 (1993-02-24)
  • March 2008 (2008-03)
{{movie date|1993|2|24||2008|||Latvia}}
  • February 24, 1993 (1993-02-24)
  • 2008 (2008) (Latvia)
{{movie date|1993|2|24||2008|3|23}}
  • February 24, 1993 (1993-02-24)
  • March 23, 2008 (2008-03-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}}
  • 24 February 1993 (1993-02-24)
{{movie date|1993|2|24||2008|||Latvia|df=y}}
  • 24 February 1993 (1993-02-24)
  • 2008 (2008) (Latvia)

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