Template talk:Current events header

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.

add categories

{{

editprotected
}} I would like to request the following edit: sandbox example, but then with category name "[[:Category:{{{1}}} by day]]". This will then be used to be able to check: Special:Recentchangeslinked/Category:2007 by day so that editors can more easily keep an eye on the edits to these pages. These pages currently see regurly vanity additions and non-notable events added after they disappear of the main current events pages. The further back in time, the longer these edits have the tendency of flying under the radar, and we can do better. See also Portal talk:Current events#Idea_to_help_maintenance_of_the_historic_events_pages. --TheDJ (talkcontribs) 00:08, 17 May 2007 (UTC)[reply]

Done. Cheers. --MZMcBride 03:13, 17 May 2007 (UTC)[reply]

hCalendar microformat

Would someone be able to assist me in adding hCalendar microformat mark-up to this template? Andy Mabbett | Talk to Andy Mabbett 12:31, 1 August 2007 (UTC)[reply]

This should do the trick i think User:TheDJ/SandboxTemplate. It has only dtstart atm. You can test it here User:TheDJ/Sandbox. --TheDJ (talkcontribs) 14:08, 1 August 2007 (UTC)[reply]
I'm not sure how useful this is because we do not have entries for individual events, just for "all events of day ..." It might be wise to consider creating a new Current events system, where we administer all events separately. On the other hand, that will make editing a lot more difficult for the casual editors i think. --TheDJ (talkcontribs) 14:23, 1 August 2007 (UTC)[reply]
Thank you your "sandbox" prototype works. I agree with your latter point, but this is a step in the right direction, and will be useful in the meantime. We also need to apply class="description" to the table cell containing the list of events (as I've taken the liberty of doing in your sandbox). Please also use Category:Templates generating hCalendars. Andy Mabbett | Talk to Andy Mabbett 14:37, 1 August 2007 (UTC)[reply]
Done. I say we put this
editprotected}}[reply
]
Done. Cheers. --MZMcBride 15:04, 1 August 2007 (UTC)[reply]
"and wait till people complain" - Cynic Realist! Thank you, both. Please feel free to join
the microformats project. Andy Mabbett | Talk to Andy Mabbett 15:11, 1 August 2007 (UTC)[reply
]

Note: Wikipedia:Bot_requests#Update current-event portal page headers. Andy Mabbett | Talk to Andy Mabbett 16:04, 1 August 2007 (UTC)[reply]

Documentation page

{{

editprotected
}}

Please change the "instructions" link to transclude Portal:Current events/DateHeader2/doc instead of linking to this talk page. Andy Mabbett | Talk to Andy Mabbett 16:09, 1 August 2007 (UTC)[reply]

Done. Cheers. --MZMcBride 18:31, 1 August 2007 (UTC)[reply]

Border

{{

editprotected
}} Please change the border from 2px to 1px, it looks much more prettier and professional. Like this:

edit history watch
checkY Done Seems uncontroversial to me. DMacks (talk) 04:56, 17 November 2008 (UTC)[reply]

day of week is wrong

{{

editprotected
}} As noted here, the template appears to have skipped Sunday, going to Monday instead. Despite US/UTC time differences, I think you'll find that the 29th is indeed a Sunday. —Vanderdeckenξφ 16:53, 29 March 2009 (UTC)[reply]

a/c) 19:36, 29 March 2009 (UTC)[reply
]

Format

{{

editprotected
}} I have made some minor formatting changes in the
sandbox which ensure that the user remains on the secure server if they're there. Furthermore, some cleaner code is used in some locations. Thanks, --The Evil IP address (talk) 19:32, 24 May 2010 (UTC)[reply]

 Done. Plastikspork ―Œ(talk) 08:42, 25 May 2010 (UTC)[reply]

April, August, December, February

{{

editprotected
}} Currently categories show months in alphabetical order:

[[Category:{{{1|0}}} by day|{{MONTHNAME|{{{2|0}}}}}]

i.e. A: April, August D: December F: February J: January, July, June M: March, May N: November O: October S: September.

e.g. Category:2010 by day

I propose using MONTH instead of MONTHNAME

i.e. 0: January, February, March, June, July, August, September 1: October, November, December.

Letuño (talk) 17:33, 2 January 2012 (UTC)[reply]

Override of Override in CSS

The Minerva skin applies display: block; width: auto; to all table elements when the window width is less than 720px. This causes any number of problem with layouts like the Current events header, whereby the headers do not stretch the full width of the space they are given and end up looking quite odd. I am requesting that on line 5, the style attribute be changed from:

  • style="background-color:#cef2e0"

to

  • style="display: table; background-color:#cef2e0;"

This is part of my effort to make the Current Events portal have a mobile-friendly layout. More details can be found on the Portal Talk page. — RossO (talk) 19:05, 28 August 2017 (UTC)[reply]

Yuck. This template has not aged well. I'll make the requested change in sandbox for testing, but it's due for a total overhaul, I think. Matt Fitzpatrick (talk) 08:28, 29 August 2017 (UTC)[reply]
See sandbox and testcases for progress so far. More tinkering needed, probably. Matt Fitzpatrick (talk) 09:53, 29 August 2017 (UTC)[reply]
That looks SO much better in the mobile view: [1] Awesomesauce! If you want to do more tinkering, feel free, but this is already an improvement over what's there. — RossO (talk) 20:01, 29 August 2017 (UTC)[reply]
Done, please keep improving ;) —TheDJ (talkcontribs) 20:07, 29 August 2017 (UTC)[reply]
See portal talk for proposal to replace this template with a tableless layout along the lines of Template:Current events/sandbox. Matt Fitzpatrick (talk) 18:58, 30 August 2017 (UTC)[reply]

Link to Month page

I would like to have a link to the parent month page added to the individual pages. This would go at the bottom of the code here:

<noinclude>
''Excerpted from [[Portal:Current events/{{MONTHNAME|{{{2|0}}}}} {{{1|0}}}]]''
|}
{{documentation}}
</noinclude>

@TheDJ: @Matt Fitzpatrick: Thoughts? — RossO (talk) 17:33, 13 September 2017 (UTC)[reply]

I think that it won't do what you think it does :) As in, this will only be shown ever on Template:Current events header, and nowhere else... —TheDJ (talkcontribs) 18:43, 13 September 2017 (UTC)[reply]
A link to the month would be useful. As User:TheDJ hints, though, this is difficult due to Template:Current events header's "open table" structure. I could do it with position:absolute trickery in the template, or with a manual insertion at the bottom of every day's code. Both those solutions would cause headaches in the long term, though.
If you don't mind holding off on this change, it would be easy to do within my Template:Current events/sandbox replacement proposal. Matt Fitzpatrick (talk) 21:03, 13 September 2017 (UTC)[reply]
That's just fine by me. It seemed like an obvious thing to have. You're right about where it would or wouldn't show up. Nesting nests are nesting nuts. : ) — RossO (talk) 22:39, 13 September 2017 (UTC)[reply]

Next and Previous Days links

It would be nice to have links that show only on the non-included version linking to the next and previous days, along with the 'this month' link noted above. — RossO (talk) 04:21, 18 September 2017 (UTC)[reply]

I was totally thinking the same thing! Matt Fitzpatrick (talk) 05:06, 19 September 2017 (UTC)[reply]

Fragile weekday

The weekday seems somewhat fragile. Here is an old version of May 26, 2016 (a Thursday) which claims it's a Sunday. While that page was live it actually said it was a Wednesday, but that may be difficult to demonstrate. I fixed it by removing a space from one of the parameters. I rather don't think an extra space here or there should break the weekday, but I'm not familiar enough with the template to easily figure out how to fix this issue. Maybe we could simply strip leading and trailing spaces from the parameters? Huon (talk) 19:55, 26 May 2018 (UTC)[reply]