Template:Dateformat

From crawfishcomic Wiki
Revision as of 16:02, 6 August 2024 by Unk-f000 (talk | contribs) (Created page with "<noinclude> <templatedata> { "params": { "date": { "label": "Date", "description": "Date in YYYY-MM-DD format.", "example": "2024-01-01", "type": "date", "required": true } }, "description": "Takes a date in YYYY-MM-DD format and formats it like the comic tags do", "format": "inline" } </templatedata> == Example == <nowiki>{{Dateformat|2024-01-01}}</nowiki> {{Dateformat|2024-01-01}}</noinclude><includeonly><!-- Month: -->{{#switch: {{#explode:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Takes a date in YYYY-MM-DD format and formats it like the comic tags do

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Datedate

Date in YYYY-MM-DD format.

Example
2024-01-01
Daterequired

Example

 {{Dateformat|2024-01-01}}

January 01 2024