Difference between revisions of "Template:Date"

From SGUTranscripts
Jump to navigation Jump to search
m (polishing)
m (small tweak)
Line 8: Line 8:
 
  | 3 = {{{1}}}<sup>rd</sup>
 
  | 3 = {{{1}}}<sup>rd</sup>
 
  | 23 = {{{1}}}<sup>rd</sup>
 
  | 23 = {{{1}}}<sup>rd</sup>
  | #default = {{{1}}}<sup>th</sup>
+
  | #default = {{{1}}}<sup>th</sup>}}
}}
 
  
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 11:11, 19 August 2020

Description

This template inserts the appropriate two-letter superscript text for the ordinal abbreviation of the date of the month.

Usage

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

For example,

February {{date|22}} 2022.

will produce

February 22nd 2022.