Template:Month: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (small tweak to markup)
m (small tweak)
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 = Month
  |#default = MM
}}</includeonly><noinclude>
}}</includeonly><noinclude>
=== Description ===
=== Description ===
Line 22: Line 31:
For example,
For example,


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


will produce
and
 
<pre><nowiki>{{month|02}} {{date|22}}</nowiki> 2022.</pre>
 
<br>will produce


  February 22<sup>nd</sup> 2022.
  February 22<sup>nd</sup> 2022.


</noinclude>
</noinclude>

Revision as of 05:46, 21 August 2020

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.


will produce

February 22nd 2022.