Module:Inclusive language

local p = {}

function p.main( frame ) local words = mw.title.makeTitle( '', 'Inclusive language/words' ) local decoded = mw.text.jsonDecode( words:getContent ) local output = {} for i, v in ipairs(decoded) do table.insert(output, "| " .. table.concat(v.avoid, ", ") .. " || " .. table.concat(v.use, ", ") .. " || " .. v.context) table.insert(output, "|-") end return table.concat(output, "\n") end

return p