Template:Date: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (a bit nicer formatting)
m (adding month template to match how month template uses date template in example)
 
Line 17: Line 17:
For example,
For example,


  February <nowiki>{{date|22}}</nowiki> 2022.
  <nowiki>{{month|2}} {{date|22}}</nowiki> 2022.


renders as: February {{date|22}} 2022.
renders as: February {{date|22}} 2022.
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 17:22, 5 March 2023

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,

{{month|2}} {{date|22}} 2022.

renders as: February 22nd 2022.