Template:Date: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#dateformat:{{{1 | <includeonly>{{#if:{{{1|}}}|{{#dateformat:{{{1}}}|date}}}}</includeonly><noinclude> | ||
Example: | Example: | ||
<code><nowiki>{{Date|2025-01-25}}</nowiki></code> | <code><nowiki>{{Date|2025-01-25}}</nowiki></code> |
Revision as of 08:58, 25 January 2025
Example:
{{Date|2025-01-25}}
2025-01-25
{{Date|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}}}
2025-04-06
Shows a date, localised to the user's preference.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 | The date, given in ISO 8601 format (YYYY-MM-DD). | Date | required |