Module:WCNA 2023 Session Categories

local p = {}

local category_base = "[[Category:Submissions/2023/" local categories = {	"Recent Changes",	"Community Initiatives",	"Education",	"Equity / Inclusion / Community Health",	"GLAM / Heritage / Culture",	"Governance",	"Languages",	"Legal / Advocacy / Risks",	"Open Data",	"Research / Science / Medicine",	"Technology",	"Wild Ideas" }

function p.main( frame ) output = "" for index, value in ipairs(categories) do		if string.match(frame.args["1"], value) then output = output .. category_base .. string.gsub(value, " / ", ", ") .. "]]"		end end

return output end

return p