Content deleted Content added
m Archiving 1 discussion(s) from Template talk:Dts) (bot |
m Archiving 1 discussion(s) from Template talk:Dts) (bot |
||
Line 523:
::{{tlf|date sortable}} is gone, it has been merged. It never did handle ranges, it simply returned anything that the software didn't recognise as is. It would, of course, be good to allow ranges here but in the mean time it's probably best to use {{tl|sort}}. [[User talk:Jimp|Jimp]] 16:53, 26 March 2014 (UTC)
==Two entries with same date==
Is there a way to force one row before the other when they have the same date? The table has two entries defined by {{Tlx|Dts|2011|06|23}}, but one should still be shown before the other, which currently shows up wrong in old-new order (but correct for new-old order). I tried {{Tlx|Sort|2011-06-23-[1 and 2]|June 23, 2011}} and without the last dash, but that doesn't seem to work, in fact they don't show up between the other dates, they just show up at the bottom of the page. Anyone have some solution? Thanks. <span style="font-family: Palatino;">[[User:Xeworlebi|'''<big><big><sub>X</sub></big></big>'''eworlebi]] <sup>([[User talk:Xeworlebi|talk]])</sup></span> 01:29, 30 July 2011 (UTC)
:{{Tlx|Sort|02011-06-23-[1 and 2]|June 23, 2011}} might work (the template adds a zero). [[User talk:Jimp|Jimp]] 16:57, 26 March 2014 (UTC)
=== Additional sorting parameter ===
Currently, the template allows for sorting by adding hidden text in the format "02012-11-24". Would it be possible to add a parameter that would force a fourth chunk (i.e., "02012-11-24-01")? The purpose would be to force table items with the same date to sort in a particular order. For example, the sortable table at [[Justice of the Supreme Court of the United Kingdom]] has six judges all appointed on 1 October 2009. I wanted to force the table to sort them among themselves by the order in which they were appointed to the Supreme Court's predecessor Court. To do so, I used the following code:
<code><nowiki><span style="display:none">02009-10-01-01</span>1 October 2009</nowiki></code>
<code><nowiki><span style="display:none">02009-10-01-02</span>1 October 2009</nowiki></code>
So what I'm asking for is a parameter that would allow me to write {{tl|dts|1 October 2009|order=1}} to accomplish the same thing. -[[User:Rrius|Rrius]] ([[User talk:Rrius|talk]]) 12:07, 24 November 2012 (UTC)
:I've added a new parameter, <code>addkey</code>, for this purpose. [[User talk:Jimp|Jimp]] 09:32, 27 March 2014 (UTC)
|