Template talk:X

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search


This template exploits a dubious first implementation of mod and has to be upgraded if that's fixed.unsigned comment by Omniplex (talk) 13 June 2006

What do you mean? It is applied to integers.--Patrick 12:22, 13 June 2006 (UTC)
{{X|1.5|Y}} gives Template:0.05xY
For integers there's no problem, I thought that you wanted mod to enforce this as its (current) side-effect, obviously not the case as the test shows. For some of all the date and time templates I tried to get code where it should continue to work without this side-effect. Probably I missed several cases. Plan B if you don't want to enforce a restriction would be to document it, but probably that's overkill for X. -- Omniplex (w:t) 02:44, 15 June 2006 (UTC)