Template:Date: Difference between revisions
Jump to navigation
Jump to search
m (tiny fix) |
m (a bit nicer formatting) |
||
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 = | | D = D<sup>th</sup> | ||
| #default = {{{1}}}<sup>th</sup>}}</includeonly><noinclude> | | #default = {{{1}}}<sup>th</sup>}}</includeonly><noinclude> | ||
=== Description === | === Description === | ||
Line 13: | Line 13: | ||
=== Usage === | === Usage === | ||
To use this template, place <nowiki>{{date| | To use this template, place <code><nowiki>{{date|#}}</nowiki></code> in the Infobox line for "episode date", where <code>#</code> is the number for the day of the month. | ||
For example, | For example, | ||
Line 19: | Line 19: | ||
February <nowiki>{{date|22}}</nowiki> 2022. | February <nowiki>{{date|22}}</nowiki> 2022. | ||
renders as: February {{date|22}} 2022. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 18:18, 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,
February {{date|22}} 2022.
renders as: February 22nd 2022.