ಟೆಂಪ್ಲೇಟು:Film date/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Film date It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
This template is used on approximately ೧,೫೬,೦೦೦ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Purpose
ಬದಲಾಯಿಸಿThis template has two functions:
- To provide correct formatting of film release dates and their locations within
{{Infobox film}}
. A citation for each date/location may also be supplied. - 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 Category:YYYY films
where YYYY is the year of first release, as well as Category:Upcoming films
for films that have not reached their first release yet. Please note that Category:YYYY films
will only be added if the category exists, and that if only the year is included as the release date, the film is considered to be "upcoming" during that entire year.
The television equivalents of these categories (Category:YYYY television films
and Category:Upcoming television films
) are used when the |TV=
parameter is set for use on television film articles.
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|...}}
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
{{Film date|1993|02}}
returns:
- ಫೆಬ್ರವರಿ 1993
{{Film date|1993|02|24}}
returns:
- ಫೆಬ್ರವರಿ 24, 1993
{{Film date|1993|February|24}}
returns:
- ಫೆಬ್ರವರಿ 24, 1993
{{Film date|1993|02|24|2008|03}}
returns:
- ಫೆಬ್ರವರಿ 24, 1993
- ಮಾರ್ಚ್ 2008
{{Film date|1993|02|24|Latvia}}
returns:
- ಫೆಬ್ರವರಿ 24, 1993 (Latvia)
{{Film date|1993|02|24|2008|03|...}}
returns:
- ಫೆಬ್ರವರಿ 24, 1993
- ಮಾರ್ಚ್ 23, 2008
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
{{Film date|1993|02|24|Latvia|df=y}}
returns:
- 24 ಫೆಬ್ರವರಿ 1993 (Latvia)
- fy can be set to override the automatic category. For example:
{{Film date|1993|02|24|2008|03|...}}
uses the category Category:1993 films
{{Film date|1993|02|24|2008|03|...}}
uses the category Category:2008 films.
- TV is to be used for television films. It sorts films into
[[Category:YYYY television films]]
in place of[[Category:YYYY films]]
. SetTV=y
orTV=yes
to do this.
- ref1, ref2, ref3, ref4, ref5 are used to supply named references. See above for detail.
Technical notes
ಬದಲಾಯಿಸಿDo not use any of the following markup in front of this template: : * #
. Doing so will cause HTML errors. See for more guidance.
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.
{{Film date}}
TemplateData
ಬದಲಾಯಿಸಿDisplays information about a film's release date
ಪರಿಮಿತಿ | ವಿವರ | ನಮೂನೆ | ಸ್ಥಾನಮಾನ | |
---|---|---|---|---|
Release year 1 | 1 | no description | ಸಂಖ್ಯೆ | required |
Release month 1 | 2 | no description | Unknown | ಸೂಚಿಸಲ್ಪಟ್ಟ |
Release day 1 | 3 | no description | ಸಂಖ್ಯೆ | ಸೂಚಿಸಲ್ಪಟ್ಟ |
Release location 1 | 4 | First location where the film was released | Content | ಸೂಚಿಸಲ್ಪಟ್ಟ |
Release year 2 | 5 | no description | Unknown | ಐಚ್ಛಿಕ |
Release month 2 | 6 | no description | Unknown | ಐಚ್ಛಿಕ |
Release day 2 | 7 | no description | Unknown | ಐಚ್ಛಿಕ |
Release location 2 | 8 | no description | Unknown | ಐಚ್ಛಿಕ |
9 | 9 | no description | Unknown | ಐಚ್ಛಿಕ |
10 | 10 | no description | Unknown | ಐಚ್ಛಿಕ |
11 | 11 | no description | Unknown | ಐಚ್ಛಿಕ |
12 | 12 | no description | Unknown | ಐಚ್ಛಿಕ |
13 | 13 | no description | Unknown | ಐಚ್ಛಿಕ |
14 | 14 | no description | Unknown | ಐಚ್ಛಿಕ |
15 | 15 | no description | Unknown | ಐಚ್ಛಿಕ |
16 | 16 | no description | Unknown | ಐಚ್ಛಿಕ |
17 | 17 | no description | Unknown | ಐಚ್ಛಿಕ |
18 | 18 | no description | Unknown | ಐಚ್ಛಿಕ |
19 | 19 | no description | Unknown | ಐಚ್ಛಿಕ |
20 | 20 | no description | Unknown | ಐಚ್ಛಿಕ |
demospace | demospace | no description | Unknown | ಐಚ್ಛಿಕ |
TV | TV | Set to yes to apply TV categories | Boolean | ಐಚ್ಛಿಕ |
Category film year | fy | Sets the film year to be used in categorization | ಸಂಖ್ಯೆ | ಐಚ್ಛಿಕ |
Day first? | df | Set to yes to display the day before the month | Boolean | ಐಚ್ಛಿಕ |
Reference 1 | ref1 | Reference for the film's first release date | Content | ಐಚ್ಛಿಕ |
Reference 2 | ref2 | Reference for the film's second release date | Content | ಐಚ್ಛಿಕ |
ref3 | ref3 | no description | Unknown | ಐಚ್ಛಿಕ |
ref4 | ref4 | no description | Unknown | ಐಚ್ಛಿಕ |
ref5 | ref5 | no description | Unknown | ಐಚ್ಛಿಕ |
Tracking categories
ಬದಲಾಯಿಸಿTracking use of the |fy=
parameter, which overrides the automatic categorisation by year:
Tracking by number of release dates:
- ವರ್ಗ:Template film date with 1 release date (೨೬೦)
- ವರ್ಗ:Template film date with 2 release dates (೨೫)
- ವರ್ಗ:Template film date with 3 release dates (೫)
- ವರ್ಗ:Template film date with 4 release dates (೦)
- ವರ್ಗ:Template film date with 5 release dates (೧)
Total by-release-date: ೨೯೧ Purge page to update totals
See also
ಬದಲಾಯಿಸಿ{{Start date}}
{{Nowrap}}
{{Small}}