Template talk:Student table row
Four-col table row showing last edit
[edit]Hi Sage (Wiki Ed). Here's a modification (in {{student table row/sandbox2}}) that generates a fourth column showing last edit. The student-table-row data in the example below is a copy of the U Mass Team Management course from the 21:04, December 1, 2020 dashboard sync, with the brackets stripped out of arg2 (the WP article), which the new table-row sandbox version requires without brackets. So that, I guess, would be a change to the dashboard to generate the call this new way; but if that's too complicated, you could strip the brackets out in the sandbox table-row code using a parser function. There are a couple of rows below with limit-condition or null-value errors that I didn't bother to run down yet, until I know if you're interested in principle in this, or not. (I see one, that needs a #ifexists.) It also includes sortable columns, which are nice:
Let me know if you're interested; you can either take over, if you'd rather, or I can run down any straggler problems if you want. Note that the sandbox2 version of {{student table row/sandbox2}} has some "expensive" parser functions (REVISIONUSER, etc) which means if a table gets really long, it will stop expanding them. It isn't doing that with this table, at least, not when I tried it, so I don't know how long a table that would have to be, before it happened. And it wouldn't be terrible if it did happene, it would just mean that starting at some row, all further values in column four would be blank, which is no worse than what we have now. Mathglot (talk) 08:42, 4 December 2020 (UTC)