Jump to content

Template:Date

13 December 2025

Template documentation[create]

A template for formatting dates, timestamps, and numbers with localization support Example: {{date|2025-02-18}}

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Input value1

The value to be formatted. Can be a date string, timestamp, or number

Stringrequired
Output format2

Controls how the formatted value is displayed. Options: 'link' (creates a wiki link), 'lnone' (creates a link without the 'l' prefix), 'asis' (returns the value unchanged)

Stringsuggested
Year comparison flag3

Used for special handling when comparing years (2008 vs current year). Set to 'y' for year comparison mode

Stringoptional