Template talk:CURRENTDAY2
Latest comment: 19 years ago by Grokbeer in topic Two digit day of the month
Requires MediaWiki 1.6?
editThe current version (with array) doesn't work in my MediaWiki 1.5.0 installation:
Today, on the 10th, it yields "{{{10|{{{default|}}}}}}".
The old version works perfectly in both old and new MediaWiki installations.
Two digit day of the month
edit{{CURRENTDAY2}} gives 26.
This template provides the same output as en.wikipedia.org's Template:CURRENTDAY2 but uses two clever templates (Template:Twodigit & Template:Twodigit_a) rather than the Twodigit function (which isn't available AFAIK in the default install of MediaWiki).
See Template_talk:Twodigit for technical details.
See also
edit- w:en:Template:CURRENTDAY2 - different technique, using 31 auxiliary templates [1]