Template:Month: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (small tweak)
m (cleaner formatting)
 
(2 intermediate revisions by the same user not shown)
Line 27: Line 27:


=== Usage ===
=== Usage ===
To use this template, place <nowiki>{{month|##}}</nowiki> in the Infobox line for "episode date", where "##" is the number for the month.
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,
Line 37: Line 37:
  <pre><nowiki>{{month|02}} {{date|22}}</nowiki> 2022.</pre>
  <pre><nowiki>{{month|02}} {{date|22}}</nowiki> 2022.</pre>


<br>will produce
render as: February 22<sup>nd</sup> 2022.
 
February 22<sup>nd</sup> 2022.


[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 17: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.