Jump to content

Template talk:Wikidata list

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mariusmm (talk | contribs) at 09:21, 16 August 2018 (multiple items). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconWikidata
WikiProject iconThis template is within the scope of WikiProject Wikidata, a collaborative effort to improve Wikipedia's integration with Wikidata.
If you would like to participate, please visit the project page.

Sort descending

How can I sort a list descending? --Cavernia (talk) 10:25, 15 March 2018 (UTC)[reply]

@Cavernia: I think you can do "ORDER BY DESC" in the sparql query. Thanks. Mike Peel (talk) 16:08, 15 March 2018 (UTC)[reply]
Yes, it works, thanks! --Cavernia (talk) 20:12, 15 March 2018 (UTC)[reply]

Losing rows

When I run the above SPARQL as a query, rows like "Alexander Berkman" will repeat because both enwp and ptwp have GAs on the topic. But when run with this template, only the first instance of the row will display. Any ideas? czar 12:00, 18 June 2018 (UTC)[reply]

(I've since received help to remove the need for multiple rows, but the issue still exists in case someone wants to fix/advise for someone else. I've updated the links above to point to the historical version.) I am no longer watching this page—ping if you'd like a response czar 18:31, 18 June 2018 (UTC)[reply]

Multiple row with dublicate items

How can I make the possibility to specify the same item several times in single table, for example, in cases where the person held the same post several times at different times? —evs (talk) 02:41, 8 July 2018 (UTC)[reply]

Repeating multiple items

I'm writing a SPARLQ query and use this template to get a list of all hugo awards. My query can be found here but the template is deleting duplicated names (check test page): For instance years 1956, 1960, 1962 and 1967 the winner is the same, but the templates shows only the first row. How can I fix it? Mariusmm (talk) 09:21, 16 August 2018 (UTC)[reply]