মডিউল:খেলাঘর/R1F4T
অবয়ব
local p = {}
function p.main(frame)
local suffixes = {"খেলাঘর", "গোল"}
local basePage = "Wikipedia:"
local existingPages = {}
for _, suffix in ipairs(suffixes) do
local pageName = basePage .. suffix
local title = mw.title.new(pageName)
if title and title.exists then
table.insert(existingPages, pageName)
end
end
local result = "* " .. table.concat(existingPages, "\n* ")
return result
end
return p