Content deleted Content added
m Archiving 1 discussion(s) to Template talk:Date table sorting/Archive 2) (bot |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 9:
|archive = Template talk:Date table sorting/Archive %(counter)d
}}
== [[:ce:Модуль:Dts]] ==
Line 27 ⟶ 16:
== How to make date ranges sort to correct position in both ascending and descending displays? ==
Is there any way to make a [[
:I believe not although you might check at [[WP:VPT]]. As I far as I know, each column has a single sort key which is used for both ascending and descending ordering. For example, <code>2016–2022</code> cannot be sorted by 2016 in one direction and 2022 in the other. I don't think it matters much for the example given. If it were a big deal, two columns would be needed, one for the first date and another for the last. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 02:53, 6 April 2023 (UTC)
== Invalid date error for 2524 BC ==
The [[Decolonisation of Asia]] article has a table with a cell containing the date 2524 BC. This template throws an error if used with this date. [[User:Wtmitchell|Wtmitchell]] [[User talk:Wtmitchell|(talk)]] <small>(earlier ''Boracay Bill'')</small> 00:16, 4 January 2024 (UTC)
:I believe the following works:
:*<code><nowiki>{{dts|2524|||BC}}</nowiki></code> → {{dts|2524|||BC}}
:The missing parameters 2 and 3 are for the month and day. The era (BC etc.) is parameter 4. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 00:38, 4 January 2024 (UTC)
:{{ping|Wtmitchell}} I should probably have notified you. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 03:37, 4 January 2024 (UTC)
::Thanks. I applied fixed [https://en.wikipedia.org/w/index.php?title=Decolonisation_of_Asia&diff=1193505885&oldid=1192949085 here]. [[User:Wtmitchell|Wtmitchell]] [[User talk:Wtmitchell|(talk)]] <small>(earlier ''Boracay Bill'')</small> 04:39, 4 January 2024 (UTC)
|