Template talk:POTW: Difference between revisions
Jump to navigation
Jump to search
(→Sorting in the categories: Thanks Gijs! :-) |
|||
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) |
Latest revision as of 16:36, 4 December 2013
Broken archive link
Archive link is broken for all the translations of the Main Page. For example on the German Page it points to "Category:Picture of the week Haup". Please fix the script!
—This unsigned comment was added by Hamster (Talk | contribs) 22:21, 19 March 2012 (UTC)
- Thanks for notifying! My fault, I accidentally copied the code to categorize the templates to the archive link. It's fixed now.
- Gijs 17:28, 1 April 2012 (EDT)
Sorting in the categories
I have noticed that the sorting in the categories are a bit sub-optimal, maybe we should recommend category sorting using the week, for example like this:
<noinlcude>[[Category:Picture of the week 2024|16]]</noinclude>
—Johan G (Talk | contribs) 14:47, 20 November 2013 (UTC)
- Done Added week as category sort key to the copyable template example.
- —Johan G (Talk | contribs) 12:56, 4 December 2013 (UTC)
- Not done Did not think that one through. That would of course sort the templates just as bad as now on the category page. Any ideas?
- —Johan G (Talk | contribs) 13:11, 4 December 2013 (UTC)