Template:Date: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#if:{{{show day of the week|}}}|{{#time:D, j F Y|{{{1|}}}}}|{{#time:j F Y|{{{1|}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
<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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Date1

Self-explanatory.

Example
25 dec 2024
Stringrequired

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