Template talk:FIDE world rankings/women
Appearance
This template was considered for deletion on 23 January 2021. The result of the discussion was "no consensus". |
JS code to generate json
[edit]As of 2021 January this works on here
normalizeName = (name) => name.split(", ")[1] + " " + name.split(", ")[0];
data=$("#div_output tbody tr")
.map((a, b) => ({
name:normalizeName($(b).find("td:nth-child(2)").text()),
rank:$(b).find("td:nth-child(1)").text(),
rating:$(b).find("td:nth-child(4)").text(),
country:$(b).find("td:nth-child(3)").text().trim()}))
.slice(0, 20)
.toArray();
JSON.stringify(data);
Dixtosa (talk) 17:54, 23 January 2021 (UTC)
Contested deletion
[edit]This article should not be speedy deleted because this page provides data to the main page. This and related pages are being discussed already here --Dixtosa (talk) 13:23, 24 January 2021 (UTC)
- Dixtosa, Is this meant to be a template? If so, it should be moved to template space. Adam9007 (talk) 18:00, 24 January 2021 (UTC)
- @Adam9007: OK you are right. Moved it. Dixtosa (talk) 20:40, 24 January 2021 (UTC)f