Talk:SVR-based locomotives visiting other events

From SVR Wiki
Revision as of 09:43, 23 January 2017 by Patrick Hearn (talk | contribs) (Which locos to include)
Jump to: navigation, search

Data sorting

I have made this table sortable. The dates would need to be in format to allow sorting by date, I have had a look on the wiki help but don't understand. Can anyone help? I think "31 January - 2 February 2013" could just be shown as "January 2013" - thoughts? Thanks--Patrick Hearn (talk) 11:07, 22 January 2017 (UTC)

The only way I could think to do a date range as sortable would be something like "2016/01/31 - 2016/02/02", as that date format allows sorting properly without special date-specific handling. --Danny252 (talk) 15:23, 22 January 2017 (UTC)
Just giving the start date (or if preferred having two columns with 'from' and 'to') would mean you could use genuine dates in the column(s). The Wikimedia date template shows how to enter dates as {{date|2013-01-31}} or {{date|31 Jan 2013}} and have them appear as 31 Jan 2013. Those should then sort automatically. Makes entering data more long-winded, and we don't currently have that template (but could import it, Dan?).
Alternatively, if left as text there is some Wikimedia help on Date sorting problems where you define the column as date-sortable, and Tips and Tricks for sorting dates using a date sorting template. Not sure if that approach is simpler or not.--Robin (talk) 17:31, 22 January 2017 (UTC)
I've got it working for a single date. See User:Graham Phillips 110. I was pleasantly surprised to find that it defaults to UK date format dd/mm/yyyy --Graham Phillips 110 17:43, 22 January 2017 (UTC)
Looks like it picks the first date from a date range as well. User:Graham Phillips 110 --Graham Phillips 110 (talk) 17:57, 22 January 2017 (UTC)
And it's even possible to define the sortable value (e.g. numeric date) while displaying different data (e.g. text date) in the cell. Someone's really put a lot of thought in to this. --Graham Phillips 110 (talk) 18:14, 22 January 2017 (UTC)

Which locos to include

Is it right to include locomotives which were booked but then didn't attend? Personal view is no, but other opinions welcome. --Robin (talk) 21:25, 22 January 2017 (UTC)

I'll be led by others. I wasn't sure, the only reason for doing so is that someone later may add one, not knowing it was then cancelled--Patrick Hearn (talk) 09:43, 23 January 2017 (UTC)