Template talk:GESTIS

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.
WikiProject iconChemistry Template‑class
WikiProject iconThis template is within the scope of WikiProject Chemistry, a collaborative effort to improve the coverage of chemistry on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconGermany Template‑class
WikiProject iconThis template is within the scope of WikiProject Germany, a collaborative effort to improve the coverage of Germany on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

leading zero

re [1]? Of course, since the ID is defined to have leading zeros, the template should not require to remove them (= change the external ID). @Leyo: -DePiep (talk) 07:29, 23 December 2021 (UTC)[reply]

The ZVG number does not contain leading zeros (see e.g. list). Moreover, the ZVG number given in an article might be compared to the Wikidata property that does not contain leading zeros, either. --Leyo 22:35, 24 December 2021 (UTC)[reply]
1. Thanks for the ZVG number (P679), explains why I could not find a "GESTID ID" in wd. (the list link is prohibitively slow, but I found a 750kB spreadsheet at [2]).
2. I see, no leading zero's in the definition (there). However, in the URL there are. For water
name=1140 Red XN
name=001140 Green tickY
Also, their spreadsheet says for de:Benzol "number:10060", "hyperlink:https://gestis.dguv.de/data?name=010060" Green tickY.
It looks like at wd Wikidata External ID redirector (Q108047563) is involved (the GESTIS URL formatter does not resemble the actual url used, see benzene (Q2270)).
3. And, of course, the template code now has your name={{padleft:{{{ZVG}}}|6|0}}
So all in all my claim is not that far off. Quite reasonably, the temaplte should not produce an error when an editor uses the actual, working URL to add a source.
4. Forward: I propose that the template accepts leading zero's too, then simply removes them before padding into the right format. Why not. -DePiep (talk) 05:15, 25 December 2021 (UTC)[reply]
I prefer to keep the same parameter value in Wikidata, de.wikipedia and here, i.e. the original ZVG number. Before, this parameter has never caused any issues. --Leyo 21:01, 27 December 2021 (UTC)[reply]