Template:Month Number: Difference between revisions

The Emma M. Lion Wiki
Created page with "<noinclude> This template returns the month number based on the provided input. <pre> {{Friendly Month|January}} -> 1 {{Friendly Month|Aug}} -> 8 {{Friendly Month|12}} -> 12 </pre> </noinclude> {{#switch:{{{1|}}} |1=1 |2=2 |3=3 |4=4 |5=5 |6=6 |7=7 |8=8 |9=9 |10=10 |11=11 |12=12 |January=1 |Jan=1 |Feb=2 |February=2 |March=3 |Mar=3 |April=4 |Apr=4 |May=5 |June=6 |Jun=6 |July=7 |Jul=7 |August=8 |Aug=8 |September=9 |Sep=9 |October=10 |Oct=10 |November=11 |Nov=11 |December=1..."
 
m OrangeJedi moved page Template:Friendly Month to Template:Month Number without leaving a redirect
(No difference)

Revision as of 18:21, 8 January 2025

This template returns the month number based on the provided input.

{{Friendly Month|January}} -> 1
{{Friendly Month|Aug}} -> 8
{{Friendly Month|12}} -> 12