Template talk:POTW: Difference between revisions

Jump to navigation Jump to search
 
Line 21: Line 21:
:: Not sure what you're trying to achieve (is the issue that 9 appears after 89?), but maybe using zero-padded week numbers helps? So 09 instead of 9. You can use <code><nowiki>{{#time:W}}</nowiki></code> for that.
:: Not sure what you're trying to achieve (is the issue that 9 appears after 89?), but maybe using zero-padded week numbers helps? So 09 instead of 9. You can use <code><nowiki>{{#time:W}}</nowiki></code> for that.
:: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 13:56, 4 December 2013 (UTC)
:: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 13:56, 4 December 2013 (UTC)
:::Yep, that exactly, 1, 2, 3..10..52.  Thanks!.
:::I did not think of those parser functions at all, and was actually pondering using <code><nowiki>{{#expr: floor( {{CURRENTWEEK}} / 10) * 10}}</nowiki></code> but considered it more than a bit inelegant. :-P
:::—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 16:36, 4 December 2013 (UTC)

Navigation menu