Want to contribute? Join the Discord and ask for the editor role.
Template:End date/doc: Difference between revisions
Template page
RTGame>Alistar Bot m (Hygiene) |
m (1 revision imported) |
Latest revision as of 16:52, 2 May 2021
This is a documentation subpage for Template:End date.It contains usage information, categories, and other content that is not part of the original template page.
Usage
This template ({{End date}}
) returns a date, or date-time. It also include the same date (and time) duplicated in a hidden (by CSS) ISO date format, for use inside other templates which emit microformats. It should not be used outside such templates. The hidden date degrades gracefully when CSS is not available.
Syntax
{{End date|<year>|<month>|<day>}}
Examples:
{{End date|<1993>|<2>|<24>}}
-→ "February 24, 1993 "{{End date|<1993>|<2>|<24>|<08>|<30>}}
→ "08:30, February 24, 1993 "
An optional parameter, df, can be set to "y" or "yes" (or indeed any value) to display the day before the month. This is primarily used in articles about events in parts of the world where the day precedes the month in a date.
Examples:
{{End date|<1993>|<2>|<24>}}
→ "24 February 1993 "