Template:Date: Difference between revisions
From Blockate Wiki
Content added Content deleted
Megamonsta2 (talk | contribs) No edit summary |
Megamonsta2 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{month}}}|1 = January|2 = February|3 = March|4 = April|5 = May|6 = June|7 = July|8 = August|9 = September|10 = October|11 = November|12 = December|#default = Invalid Month}} {{#if:{{{day}}}|{{#switch:{{{day}}}|1 = 1<sup>st</sup>|2 = 2<sup>nd</sup>|3 = 3<sup>rd</sup>|#default = {{{day}}}<sup>th</sup>}}|Invalid Day}}, {{{year}}}</includeonly><noinclude>[[Category:Templates]]{{documentation}}</noinclude> |
<includeonly>{{#switch:{{{month}}}|1 = January|2 = February|3 = March|4 = April|5 = May|6 = June|7 = July|8 = August|9 = September|10 = October|11 = November|12 = December|#default = Invalid Month}} {{#if:{{{day}}}|{{#switch:{{{day}}}|1 = 1<sup>st</sup>|2 = 2<sup>nd</sup>|3 = 3<sup>rd</sup>|21 = 21<sup>st</sup>|22 = 22<sup>nd</sup>|23 = 23<sup>rd</sup>|31 = 31<sup>st</sup>|#default = {{{day}}}<sup>th</sup>}}|Invalid Day}}, {{{year}}}</includeonly><noinclude>[[Category:Templates]]{{documentation}}</noinclude> |
Revision as of 14:23, 30 August 2021
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
- Description
- Use this template to enter a date.
- Month must be the numerical abbreviation of the month, such as "1" for January and "2" for February.
- Syntax
- {{Date}}