Difference between revisions of "Template:Date"

From SGUTranscripts
Jump to navigation Jump to search
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#switch: date
+
{{#switch: {{{date}}}
 
  | 1 =  
 
  | 1 =  
 
  | 21 =  
 
  | 21 =  
Line 9: Line 9:
 
  | 23 = {{{date}}}<sup>rd</sup>
 
  | 23 = {{{date}}}<sup>rd</sup>
 
  | 4 =
 
  | 4 =
<!-- | #default = {{{date}}}<sup>th</th> -->
+
<!-- | #default = {{{date}}}<sup>th</sup> -->
 
}}
 
}}
  

Revision as of 10:25, 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 {{w|James Randi}}.

will produce

S: Our guest tonight is James Randi.