Difference between revisions of "Module:WCNA 2019 Session Categories"

From WikiConference North America
Jump to navigation Jump to search
(start a module)
 
(fix)
Line 5: Line 5:
 
function p.main( frame )
 
function p.main( frame )
 
categories = ""
 
categories = ""
if string.match(frame.args["theme"], "Reliability") then
+
if string.match(frame.args["1"], "Reliability") then
 
categories = categories .. categories_base .. "Reliability‎]]"
 
categories = categories .. categories_base .. "Reliability‎]]"
 
end
 
end

Revision as of 04:44, 22 September 2019

Documentation for this module may be created at Module:WCNA 2019 Session Categories/doc

local p = {}

local categories_base = "[[Category:Submissions/2019/"

function p.main( frame )
    categories = ""
    if string.match(frame.args["1"], "Reliability") then
        categories = categories .. categories_base .. "Reliability‎]]"
    end
    return categories
end

return p