Template talk:Student table row

Latest comment: 4 years ago by Mathglot in topic Four-col table row showing last edit

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:

Show example of U Mass Team Management course with 4-col output
Student Assigned Reviewing Last edited
Nancy Sprawa Multi-dimensional model of leadership 0/0 by [nil ]
KaitlynFlieder    
Nepats28 Multi-dimensional model of leadership 0/0 by [nil ]
Dagyapong Social decision making 12/11 by Rowing007
Mson8525 Group-dynamic game 11/23 by 78.26
Nadiacsmith4725 False Advertisement 0/0 by [nil ]
7jpelton97 Online presence management 7/5 by Kuru
Jwenzel11 Fear of commitment 7/26 by HudecEmil
Realcro Mass market 6/17 by KuyaMoHirowo
Connorjp Cyber Black Friday 8/16 by Bender the Bot
Amedeiros720 Productivity 8/27 by HudecEmil
MGTdrew Productivity 8/27 by HudecEmil
Flemingtm3 Suggestion box 1/2 by 2601:981:4400:6F80:2D8D:82B1:7A02:F4F2
Kgarcia8 Suggestion box 1/2 by 2601:981:4400:6F80:2D8D:82B1:7A02:F4F2
MKoala14 Teamwork 6/9 by BD2412
Maggie01042 Group-dynamic game 11/23 by 78.26
Malavoie11 Mass market 6/17 by KuyaMoHirowo
Cedric Gutierrez Social decision making 12/11 by Rowing007
Emendes3 Marketing management 5/15 by Supersubhamboundia
Melsam23 Public relations 8/16 by Piñanana
GiovanaSilveira Multi-dimensional model of leadership 0/0 by [nil ]
Iqratmir Marketing plan 5/20 by Dawkin Verbier
Kalinamarinova Productivity 8/27 by HudecEmil
Jamr978 Attention (advertising) 12/26 by Klbrain
Caroch20 Public relations 8/16 by Piñanana
Azchips Family in advertising 5/25 by OAbot
Jackwiki12345 Marketing plan 5/20 by Dawkin Verbier
Knoseworthy Attention (advertising) 12/26 by Klbrain
Cvallant33 Mass market 6/17 by KuyaMoHirowo
Bethyy101 Mass market 6/17 by KuyaMoHirowo
Jzheng668 Cyber Black Friday 8/16 by Bender the Bot
LakendraR Family in advertising 5/25 by OAbot
Pmelo8251 Suggestion box 1/2 by 2601:981:4400:6F80:2D8D:82B1:7A02:F4F2
Jamado99 Egotism 4/9 by JeffSpaceman
Ryruc17 Education 8/25 by ShelfSkewed
Ron Ant212 Cyber Black Friday 8/16 by Bender the Bot
Acoutinho997.2 Public relations 8/16 by Piñanana
Sonnyliang Attention (advertising) 12/26 by Klbrain
KRTheGOAT Teamwork 6/9 by BD2412
Bpaquin16 Multi-dimensional model of leadership 0/0 by [nil ]
Cnguyen3 Teamwork 6/9 by BD2412
Jcastro1999 Attention (advertising) 12/26 by Klbrain
Courtney.cabral Suggestion box 1/2 by 2601:981:4400:6F80:2D8D:82B1:7A02:F4F2
Dsittard Family in advertising 5/25 by OAbot
Rthomas6 Education 8/25 by ShelfSkewed
Gatorade2323 Marketing management 5/15 by Supersubhamboundia
Brookejlet84 Public relations 8/16 by Piñanana
MJS Francisco Egotism 4/9 by JeffSpaceman
TommyHua Fear of commitment 7/26 by HudecEmil
Ciantroy Online presence management 7/5 by Kuru
KiingOlu Attention (advertising) 12/26 by Klbrain
Abbylandry Market development 7/31 by Rafaelthegreat
VivianObodo False advertising 8/19 by Bender the Bot
Sromero777 Market development 7/31 by Rafaelthegreat
Wcochran3361 Fear of commitment 7/26 by HudecEmil
Dmadigan1999 Family in advertising 5/25 by OAbot
Kailaduff Group-dynamic game 11/23 by 78.26
Kberhe Organizing (management) 2/21 by Tacyarg
Vvega1992 Market development 7/31 by Rafaelthegreat
Mkshea Social decision making 12/11 by Rowing007
Ilacombe2 Marketing plan 5/20 by Dawkin Verbier
Pjpow28 Multi-dimensional model of leadership 0/0 by [nil ]
Mferro2 Teamwork 6/9 by BD2412
Raymondliriano Egotism 4/9 by JeffSpaceman
Hrose1 Organizing (management) 2/21 by Tacyarg
Amf26 Multi-dimensional model of leadership 0/0 by [nil ]
Natreyes29 Marketing plan 5/20 by Dawkin Verbier
Adamwashington3 Marketing management 5/15 by Supersubhamboundia
Mmcgowan3 Multi-dimensional model of leadership 0/0 by [nil ]
Cgomes30 Education 8/25 by ShelfSkewed
Ngaines99 Organizing (management) 2/21 by Tacyarg
Wikiedithero Egotism 4/9 by JeffSpaceman

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)Reply