Template:Month name2/doc

From MegaGlest
< Template:Month name2
Revision as of 22:48, 11 August 2010 by Hofmic (talk) (1 revision: Templates)
Jump to: navigation, search
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