Template:Date: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(small tweak)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch: {{{date|{{{1}}}}}}
{{#switch: {{{date|{{{1}}}}}}
  | 1 =  
  | 1 = {{{1}}}<sup>st</sup>
  | 21 =  
  | 21 = {{{1}}}<sup>st</sup>
  | 31 = {{{1}}}<sup>st</sup>
  | 31 = {{{1}}}<sup>st</sup>
  | 2 =  
  | 2 = {{{1}}}<sup>nd</sup>
  | 22 = {{{1}}}<sup>nd</sup>  
  | 22 = {{{1}}}<sup>nd</sup>  
  | 3 =  
  | 3 = {{{1}}}<sup>rd</sup>
  | 23 = {{{1}}}<sup>rd</sup>
  | 23 = {{{1}}}<sup>rd</sup>
  | 4 =
  | #default = {{{1}}}<sup>th</sup>
<!-- | #default = {{{1}}}<sup>th</sup> -->
}}
}}



Revision as of 10:37, 19 August 2020

Description

Usage

To use this template, place {{date|##}} in an entry where "##" is the number for the day of the month.

For example,

S: Our guest tonight is  .

will produce

S: Our guest tonight is .