Template:Date: Difference between revisions

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



Revision as of 10:35, 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 .