Module talk:Wd/Archive 1: Difference between revisions

Content deleted Content added
m Archiving 2 discussion(s) from Module talk:Wd) (bot
m Archiving 1 discussion(s) from Module talk:Wd) (bot
Line 993:
As I understand it is not possible for now and one can call for a value by date only if it has start-time and/or end-time qualifiers [[User:Liinisx|Liinisx]] ([[User talk:Liinisx|talk]]) 14:21, 5 January 2023 (UTC)
:Unless you can code this yourself in the sandbox and test it, this probably will not get done. This module is no longer actively maintained, and the last time I tried to edit the code I made little progress.
 
== Examples in the main page ==
 
The examples in the main page are kind of difficult:<br /><nowiki>{{wikidata|properties|qualifier|normal+|Q55|P1082|P585}}</nowiki><br />↓<br />17,282,163 (2019), 16,829,289 (26 August 2014), 16,779,575 (2013), 10,026,773 (1950), 17,000,000 (21 March 2016), 17,132,854 (2017), 17,181,084 (1 January 2018), 17,622,200<br /><br />
The results aren't in any order - neither by time, nor by size.<br /><br />What I want is eg [[:Santa Fe, Cebu]] using P150 which can have a number of elements in alphabetic order. They are each similar eg Q26763388, and from each I want (P1082) the most recent population, and the closest earlier.<br />If I can work it out, that can do the whole job is one line (adding text where needed). - [[User:Auntie Kathleen|Auntie Kathleen]] ([[User talk:Auntie Kathleen|talk]]) 06:05, 6 January 2023 (UTC)
 
:I guess it is giving the values in the order that they are on Wikidata. I have changed the order on there (using [[wikidata:Help:Statements#Order_of_statements_for_a_property]] and now it displays 2019 first (which is the statement marked as preferred) and then all the others in chronological order, and then the undated one.
:{{wikidata|properties|qualifier|normal+|Q55|P1082|P585}}
:Hope this helps &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:13, 8 January 2023 (UTC)