Template:Date: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{show day of the week|}}}|{{#time: | <includeonly>{{#if:{{{show day of the week|}}}|{{#time:l, j F Y|{{{1|}}}}}|{{#time:j F Y|{{{1|}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Latest revision as of 08:21, 30 March 2026
Template for formatting dates without a timestamp. The date is automatically formatted as day-month-year and the formatting of the input does not matter as long as the day, month, and year are specified. "25 dec 2024", "December 25, 2024", and "2024-12-25" all have the same output, for example.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Date | 1 | Self-explanatory.
| String | required |
Example usage
| Wikitext | Result |
|---|---|
{{date|25 dec 2024}}
|
25 December 2024 |
{{date|December 25, 2024}}
|
25 December 2024 |
{{date|2024-12-25}}
|
25 December 2024 |