local p = local data = mw.loadData('Module:Interlinear/data')local article,expansion, exneg, amb="","","", ""
s='
Abbreviation | Tooltip | Wiki article | Ambiguous | Exclude negation \n | -\n' c=1 function p.print_data for abbr, ta in pairs(data.abbreviations) do if not ta.wikipage or ta.wikipage "" then article="" else article = "" .. ta.wikipage .. "" end if ta.ExcludeNegation then exneg="yes" else exneg="" end if ta.ambiguous then amb="yes" else amb="" end if ta.expansion then expansion=ta.expansion else expansion="" end s = s .. " | " .. abbr .. " | " .. expansion .. " | " .. article .. " | " .. amb .. " | " .. exneg .. "\n | -\n" c = c +1 end return s .. " |
---|
return p--return p