Template:Date
Appearance
13 December 2025
A template for formatting dates, timestamps, and numbers with localization support Example: {{date|2025-02-18}}
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Input value | 1 | The value to be formatted. Can be a date string, timestamp, or number | String | required |
| Output format | 2 | 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) | String | suggested |
| Year comparison flag | 3 | Used for special handling when comparing years (2008 vs current year). Set to 'y' for year comparison mode | String | optional |