Module documentation
local e = {}function e.women(frame)local womenJsonDataPage = mw.title.makeTitle( 'Template', 'FIDE world rankings/women' )ret = "<table class='wikitable'>"; womenJsonData = mw.text.jsonDecode(womenJsonDataPage:getContent()); ret = ret .. "<tr>";ret = ret .. "<th>" .. "Rank" .. "</th>";ret = ret .. "<th>" .. "Player" .. "</th>";ret = ret .. "<th>" .. "Rating" .. "</th>";ret = ret .. "</tr>"; for k, v in ipairs(womenJsonData ) doret = ret .. "<tr>"; ret = ret .. "<th>".. v.rank .. "</th>"; ret = ret .. "<td>" .. frame:expandTemplate{ title = 'flagicon', args = { v.country } } .. " [[".. v.name .. "]]" .. "</td>"; ret = ret .. "<td>".. v.rating .. "</td>"; ret = ret .. "</tr>";endreturn ret .. "</table>";endreturn e
🔥 Top keywords: Main PageSpecial:SearchWikipedia:Featured picturesYasukeHarrison ButkerRobert FicoBridgertonCleopatraDeaths in 2024Joyce VincentXXXTentacionHank AdamsIt Ends with UsYouTubeNew Caledonia2024 Indian general electionHeeramandiDarren DutchyshenSlovakiaKingdom of the Planet of the ApesAttempted assassination of Robert FicoLawrence WongBaby ReindeerXXX: Return of Xander CageThelma HoustonFuriosa: A Mad Max SagaMegalopolis (film)Richard GaddKepler's SupernovaWicked (musical)Sunil ChhetriXXX (2002 film)Ashley MadisonAnya Taylor-JoyPlanet of the ApesNava MauYoung SheldonPortal:Current eventsX-Men '97