Template:Date: Difference between revisions
Jump to navigation
Jump to search
(?) |
m (small tweak to markup) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
| 1 = | | 1 = 1<sup>st</sup> | ||
| 21 = | | 21 = 21<sup>st</sup> | ||
| 31 = | | 31 = 31<sup>st</sup> | ||
| 2 = | | 2 = 2<sup>nd</sup> | ||
| 22 = | | 22 = 22<sup>nd</sup> | ||
| 3 = | | 3 = 3<sup>rd</sup> | ||
| 23 = | | 23 = 23<sup>rd</sup> | ||
| #default = {{{1}}}<sup>th</sup>}}</includeonly><noinclude> | | #default = {{{1}}}<sup>th</sup>}}</includeonly><noinclude> | ||
=== Description === | === Description === |
Revision as of 05:48, 21 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.