ಟೆಂಪ್ಲೇಟು:Film date/doc

ವಿಕಿಪೀಡಿಯ ಇಂದ
Jump to navigation Jump to search
This documentation subpage contains instructions, categories, or other information that is not part of the ಟೆಂಪ್ಲೇಟು. To view the ಟೆಂಪ್ಲೇಟು page itself, see ಟೆಂಪ್ಲೇಟು:Film date.

Purpose[ಬದಲಾಯಿಸಿ]

This template has two functions:

  1. To provide correct formatting of film release dates and their locations within {{Infobox film}}. A citation for each date/location may also be supplied.
  2. To automatically categorize films according to their first release date.

Usage[ಬದಲಾಯಿಸಿ]

This template is intended to supply a result to the |released= parameter of {{Infobox film}}.

The template adds either Category:Upcoming films for films before their first release or [[Category:YYYY films]] after their first release date, where YYYY is the year of first release.

Syntax[ಬದಲಾಯಿಸಿ]

This template allows up to five release dates/locations, but normally no more than two are needed. Please see WP:FILMRELEASE for a full explanation.

One release date only[ಬದಲಾಯಿಸಿ]

  • {{Film date|year|month|day|location|ref1=<ref name="xxxxx" />}}

If no location is specified, month and day may be omitted. If location is specified, then month and day must be supplied, though they may be left blank or empty if not known; ref1= is an optional parameter allowing a named reference ("xxxxx") to be used to verify the date/location of the release.

More than one release date[ಬದಲಾಯಿಸಿ]

  • {{Film date|year1|month1|day1|location1|ref1=<ref name="xxxxx" />|year2|month2|day2|location2|ref2=<ref name="yyyy" />}} and similarly for up to five dates/locations.

In this case, all the year, month, day and location parameters, except the last, must be supplied, but as before, month and day may be left empty or blank if not known. Note that ref1=, ref2=, etc. are optional named parameters, and either may be omitted without affecting the other parameters.

Examples[ಬದಲಾಯಿಸಿ]

{{Film date|1993}} returns:

  • 1993 (1993)

{{Film date|1993|02}} returns:

  • ಫೆಬ್ರುವರಿ 1993 (1993-02)

{{Film date|1993|02|24}} returns:

  • ಫೆಬ್ರುವರಿ 24, 1993 (1993-02-24)

{{Film date|1993|February|24}} returns:

  • ಫೆಬ್ರುವರಿ 24, 1993 (1993-February-24)

{{Film date|1993|02|24||2008|03}} returns:

  • ಫೆಬ್ರುವರಿ 24, 1993 (1993-02-24)
  • ಮಾರ್ಚ್ 2008 (2008-03)

{{Film date|1993|02|24|Latvia}} returns:

  • ಫೆಬ್ರುವರಿ 24, 1993 (1993-02-24) (Latvia)

{{Film date|1993|02|24||2008|03|23}} returns:

  • ಫೆಬ್ರುವರಿ 24, 1993 (1993-02-24)
  • ಮಾರ್ಚ್ 23, 2008 (2008-03-23)

Optional parameters[ಬದಲಾಯಿಸಿ]

  • df can be set to "y" or "yes" to display the day before the month. Default is month before day.

{{Film date|1993|02|24|df=y}} returns:

  • 24 ಫೆಬ್ರುವರಿ 1993 (1993-02-24)

{{Film date|1993|02|24|Latvia|df=y}} returns:

  • 24 ಫೆಬ್ರುವರಿ 1993 (1993-02-24) (Latvia)


  • fy can be set to override the automatic category. For example:

{{Film date|1993|02|24||2008|03|23}} uses the category Category:1993 films

{{Film date|1993|02|24||2008|03|23|fy=2008}} uses the category Category:2008 films.


  • TV is to be used for television films. It sorts films into [[ವರ್ಗ:YYYY television films]] in place of [[ವರ್ಗ:YYYY films]]. Set TV=y or TV=yes to do this.


  • ref1, ref2, ref3, ref4, ref5 are used to supply named references. See above for detail.

Technical note[ಬದಲಾಯಿಸಿ]

This template uses {{Start date}} to handle the hard work of date formatting, and {{Plainlist}} to format list items as recommended for use within infoboxes.

Redirects[ಬದಲಾಯಿಸಿ]

See also[ಬದಲಾಯಿಸಿ]