Difference between revisions of "Module:WCNA 2024 Session Categories"
Jump to navigation
Jump to search
(creation; categories need to be added) |
(Adding "Diversity & Inclusion", "Education",) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
local category_base = "[[Category:Submissions/2024/" |
local category_base = "[[Category:Submissions/2024/" |
||
local categories = { |
local categories = { |
||
+ | "Community Engagement", |
||
− | "Please Add Categories", |
||
+ | "Community Health", |
||
− | "at Module:WCNA 2024 Session Categories" |
||
+ | "Diversity & Inclusion", |
||
+ | "Education", |
||
+ | "GLAM", |
||
+ | "Governance and Strategy", |
||
+ | "Legal and Advocacy", |
||
+ | "Open Data", |
||
+ | "Partnerships", |
||
+ | "Reliable Sources", |
||
+ | "Research", |
||
+ | "Technology", |
||
+ | "Wild Ideas" |
||
} |
} |
||
Latest revision as of 04:36, 20 May 2024
Documentation for this module may be created at Module:WCNA 2024 Session Categories/doc
local p = {}
local category_base = "[[Category:Submissions/2024/"
local categories = {
"Community Engagement",
"Community Health",
"Diversity & Inclusion",
"Education",
"GLAM",
"Governance and Strategy",
"Legal and Advocacy",
"Open Data",
"Partnerships",
"Reliable Sources",
"Research",
"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