Template:Month name2

From MegaGlest
Revision as of 22:47, 11 August 2010 by Hofmic (talk) (1 revision: Templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template documentation (for the above template)[view] [edit] [purge]
Description
This template returns a month name for a number 1-12.
This version uses MediaWiki pages MediaWiki:January, MediaWiki:February, ext. instead of hard coding the month names. While if the wiki does not have these pages, this will not work, this is helpful for wikia wikis, especially non-english ones where these pages have the month name in the appropriate language, so this can be copied without modification.
Syntax
Type {{Month name|number 1-12}} somewhere. Numbers 1-9 may be zero-padded.
Sample output
{{Month name|08}} gives...
August