Difference between revisions of "Template:Date"

From SGUTranscripts
Jump to navigation Jump to search
m (added categories)
m (might as well use the template in the example)
Line 20: Line 20:
 
will produce
 
will produce
  
  February 22<sup>nd</sup> 2022.
+
  February {{date|22}} 2022.
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 09:02, 8 September 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.