Template talk:CURRENTDAY2

From Meta, a Wikimedia project coordination wiki

Jump to: navigation, search

[edit] Requires MediaWiki 1.6?

The 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.


[edit] Two digit day of the month

{{CURRENTDAY2}} gives 25.

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.

--- Grokbeer 08:16, 7 December 2005 (UTC)

[edit] See also