Template:Date: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
No edit summary
m (polishing)
Line 13: Line 13:
</includeonly><noinclude>
</includeonly><noinclude>
=== Description ===
=== Description ===
 
This template inserts the appropriate two-letter superscript text for the ordinal abbreviation of the date of the month.


=== Usage ===
=== Usage ===
To use this template, place <nowiki>{{date|##}}</nowiki> in an entry where "##" is the number for the day of the month.
To use this template, place <nowiki>{{date|##}}</nowiki> in the Infobox line for "episode date", where "##" is the number for the day of the month.


For example,
For example,


  S: Our guest tonight is <nowiki> </nowiki>.
  February <nowiki>{{date|22}}</nowiki> 2022.


will produce
will produce


:S: Our guest tonight is .
February 22<sup>nd</sup> 2022.
 


</noinclude>
</noinclude>

Revision as of 11:55, 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.