Difference between revisions of "Template:Film date/doc"
Jump to navigation
Jump to search
imported>Bovineboy2008 (→Use in microformats: remove section) |
imported>Bovineboy2008 m (fix) |
||
| Line 18: | Line 18: | ||
*<nowiki>{{Film date|1993|2|24||2008|3|23}}</nowiki> returns:<br />{{Film date|1993|2|24||2008|3|23}} | *<nowiki>{{Film date|1993|2|24||2008|3|23}}</nowiki> returns:<br />{{Film date|1993|2|24||2008|3|23}} | ||
| − | An optional parameter, | + | An optional parameter, "'''df'''", can be set to "y" or "yes" to display the day before the month. Default is month before day. |
Examples: | Examples: | ||
| − | *<nowiki>{{Film date|1993|2|24| | + | *<nowiki>{{Film date|1993|2|24|df=y}}</nowiki> returns:<br />{{Film date|1993|2|24|df=y}} |
| − | *<nowiki>{{Film date|1993|2|24||2008|||Latvia| | + | *<nowiki>{{Film date|1993|2|24||2008|||Latvia|df=y}}</nowiki> returns:<br />{{Film date|1993|2|24||2008|||Latvia|df=y}} |
==Redirects== | ==Redirects== | ||
Revision as of 23:14, 5 August 2010
Template:Template doc page viewed directly
Contents
Usage
This template ({{Film date}}) returns auto formatting for use in the released parameter of {{Infobox film}}. The template automatically uses {{Upcoming film}} and removes it after its release.
Syntax
- {{Film date|year|month|day|location}}
This template allows up to four 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:
- February 1993
- {{Film date|1993|2|24}} returns:
- February 24, 1993
- {{Film date|1993|2|24||2008|3}} returns:
- February 24, 1993
- March 2008
- {{Film date|1993|2|24||2008|||Latvia}} returns:
- February 24, 1993
- 2008 (Latvia)
- {{Film date|1993|2|24||2008|3|23}} returns:
- February 24, 1993
- March 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 February 1993
- {{Film date|1993|2|24||2008|||Latvia|df=y}} returns:
- 24 February 1993
- 2008 (Latvia)
Redirects
- {{Fd}}
See also
- {{Upcoming film}}
- {{Start date}}
- {{Nowrap}}
- {{Small}}