Template:Date: Difference between revisions

From Blockate Wiki
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}|jan = January|feb = February|mar = March|apr = April|may = May|jun = June|jul= July|aug = August|sep = September|oct = October|nov = November|dec = December|#default = Invalid Month}} {{#if:{{{2}}}|{{#switch:{{{2}}}|1 = 1<sup>st</sup>|2 = 2<sup>nd</sup>|3 = 3<sup>rd</sup>|#default = {{{2}}}<sup>th</sup>}}|Invalid Day}}, {{{3}}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#switch:{{{1}}}|jan = January|feb = February|mar = March|apr = April|may = May|jun = June|jul= July|aug = August|sep = September|oct = October|nov = November|dec = December|#default = Invalid Month}} {{#if:{{{2}}}|{{#switch:{{{2}}}|1 = 1<sup>st</sup>|2 = 2<sup>nd</sup>|3 = 3<sup>rd</sup>|#default = {{{2}}}<sup>th</sup>}}|Invalid Day}}, {{{3}}}</includeonly><noinclude>[[Template:Templates]]{{documentation}}</noinclude>

Revision as of 14:55, 29 August 2021

Template:Templates

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}}