Template talk:JanuaryCalendar
From Wikipedia, the free encyclopedia
[edit] Layout
The layout of this calendar is pretty unique and pretty different from everything we've had so far. I've gone forward and designed a version that looks closer to what I've already done on Template:Table Suffixes and Template:Table Greekletters - see MediaWiki:JanuaryCalendar/Temp for this suggestion of mine. Please let me know what you think. — Timwi 21:10, 25 Feb 2004 (UTC)
- Your layout, Timwi, seems a little closer to other tables we have dotted around in terms of being borderless and having a familar colour. I'd advocate changing to it - and the beauty of the msg: system is that it is easy to change everywhere! Pete/Pcb21 (talk) 09:08, 26 Feb 2004 (UTC)
- Neat! I like the /Temp table. Not too thrilled about the color though. I was thinking about having different colors for each season, so we can deal with that later. And yes, the MediaWiki namespace is really cool - changing 12 pages will update nearly 400 articles! --mav 12:40, 26 Feb 2004 (UTC)
-
- Done. Personally, I rather prefer to have consistent colours all the way through, but I can also see the aesthetic merit of having some sort of continual gradient of colours that changes from blue (winter) over green (spring) and red (summer) via yellow (autumn) back to blue. Might look cool, if the colours are well-chosen. -- Timwi 14:48, 26 Feb 2004 (UTC)
Shouldn't the January calendar link to December and February, etc? Morwen 10:13, Feb 28, 2004 (UTC)
- I tried that and it was ugly. Just follow the January link to that article. Navigate to different months there. Keep it simple. --mav
[edit] Rewrite this template?
Could this template be rewritten to be a little more self-maintaining? The way that the template is used now, it is dependent on other templates that have to be created each year. The way I envision it is to work as {{JanuaryCalendar}} by default for all the date pages, which would just show a calendar of the current year. For the few pages that list older calendars something like {{JanuaryCalendar|2007}} could be used. If the template could be rewritten that way, no one would have to create the new templates each year (half of the source templates are already created until 2010 - half because it requires two for each month) and 120 existing templates (more actually) could be deleted. -- Mufka (u) (t) (c) 01:42, 2 January 2008 (UTC)
- I've rewritten these templates so that they do not need to be manually (or bot) updated each year. The current versions depend on Template:JanuaryCalendar2008 and Template:JanuaryCalendar2008Source and these need to be created each year. The version that I've written use only the Template:Calendar/MonthStartTue set of templates (one for each day of the week). The new version calculates what day the first of the month is and then uses that to create the calendar. It should be maintenance free. I've posted the January version at User:Mufka/JanuaryCalendar. I'd like to get some input on it before I replace the templates. Another great feature of the way I did it is that it will only take 12 edits to the {{JanuaryCalendar}} templates to make the change. I'm also thinking that with just a little more work, I could turn the 12 templates into one. -- Mufka (u) (t) (c) 05:36, 26 February 2008 (UTC)
[edit] Template updated
I've updated the template to a self-maintaining version. The only difference is that it is not right aligned but all of the articles that use it have style="float:right;" set and we shouldn't be depending on the template for alignment. You should be able to put it wherever you want it. -- Mufka (u) (t) (c) 17:57, 6 March 2008 (UTC)