Jump to content

Template:Date

From Joepedia
Revision as of 08:32, 25 January 2025 by Latty (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}|{{#timef:{{{1|}}}|date}}}}</includeonly><noinclude> Example: <code><nowiki>{{Date|2025-01-25}}</nowiki></code> {{Date|2025-01-25}} <templatedata> { "params": { "1": { "label": "Date", "description": "The date, given in ISO 8601 format (YYYY-MM-DD).", "type": "date", "required": true } }, "description": "Shows a date, localised to the user's preference.", "format": "inline" } </templatedata></noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example:

 {{Date|2025-01-25}}

25 January 2025

Shows a date, localised to the user's preference.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Date1

The date, given in ISO 8601 format (YYYY-MM-DD).

Daterequired