Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:MONTHNUMBER

From FlightGear wiki
Jump to: navigation, search

Missing required parameter month

The following template description is not displayed when the template is inserted in an article.

Goal

This template will convert the input to a month number (1..12).

Usage

{{MONTHNUMBER|month}}
month
Input to be converted to a month number. The template is case insensitive. Valid inputs are:
  • Full month names (January..December)
  • Three letter abbreviations of month names (Jan..Dec)
  • Integer numbers, positive and negative
  • Decimal numbers, positive and negative

Examples

{{MONTHNUMBER|January}}

1

{{MONTHNUMBER|Feb}}

2

{{MONTHNUMBER|3}}

3

{{MONTHNUMBER|-8}}

4

{{MONTHNUMBER|5.3}}

5

{{MONTHNUMBER|-5.3}}

6

Related templates