Difference between revisions of "Template:Date"

From SGUTranscripts
Jump to navigation Jump to search
m (Protected "Template:Date": High traffic page: useful template to be used often that doesn't need frequent modification ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (tiny fix)
 
Line 7: Line 7:
 
  | 3 = 3<sup>rd</sup>
 
  | 3 = 3<sup>rd</sup>
 
  | 23 = 23<sup>rd</sup>
 
  | 23 = 23<sup>rd</sup>
 +
| D = DD<sup>th</sup>
 
  | #default = {{{1}}}<sup>th</sup>}}</includeonly><noinclude>
 
  | #default = {{{1}}}<sup>th</sup>}}</includeonly><noinclude>
 
=== Description ===
 
=== Description ===

Latest revision as of 05:53, 28 February 2022

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.