Template:Month: Difference between revisions
Jump to navigation
Jump to search
(new template so you don't have to type out months' names) |
m (cleaner formatting) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
| 8 = August | | 8 = August | ||
| 9 = September | | 9 = September | ||
| 01 = January | |||
| 02 = February | |||
| 03 = March | |||
| 04 = April | |||
| 05 = May | |||
| 06 = June | |||
| 07 = July | |||
| 08 = August | |||
| 09 = September | |||
| 10 = October | | 10 = October | ||
| 11 = November | | 11 = November | ||
| 12 = December | | 12 = December | ||
|#default = MM | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
=== Description === | === Description === | ||
Line 17: | Line 27: | ||
=== Usage === | === Usage === | ||
To use this template, place <nowiki>{{month|##}}</nowiki> in the Infobox line for "episode date", where | To use this template, place <code><nowiki>{{month|##}}</nowiki></code> in the Infobox line for "episode date", where <code>#</code> is the number for the month. | ||
For example, | For example, | ||
<nowiki>{{month|2}} {{date|22}}</nowiki> 2022. | <pre><nowiki>{{month|2}} {{date|22}}</nowiki> 2022.</pre> | ||
and | |||
<pre><nowiki>{{month|02}} {{date|22}}</nowiki> 2022.</pre> | |||
render as: February 22<sup>nd</sup> 2022. | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 18:23, 5 March 2023
Description
This template inserts the appropriate month text for the numeral abbreviation of the month.
Usage
To use this template, place {{month|##}}
in the Infobox line for "episode date", where #
is the number for the month.
For example,
{{month|2}} {{date|22}} 2022.
and
{{month|02}} {{date|22}} 2022.
render as: February 22nd 2022.