Module:auto cat/data: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 432: Line 432:


for subtopic, supertopics in pairs(subtopics) do
for subtopic, supertopics in pairs(subtopics) do
local subcats = {"%l topics| ", capitalize(subtopic) .. " topic by language"}
local subcats = {"%l topics|" .. subtopic, capitalize(subtopic) .. " topic by language"}
if type(supertopics) == "string" then
if type(supertopics) == "string" then
table.insert(subcats, "%c:" .. capitalize(supertopics))
table.insert(subcats, "%c:" .. capitalize(supertopics))
Line 442: Line 442:
table.insert(cats, {"%c:" .. capitalize(subtopic), subcats})
table.insert(cats, {"%c:" .. capitalize(subtopic), subcats})
end
end
table.insert(cats, {"%c:%s", {"%l topics| ", "%s topic by language"}})
table.insert(cats, {"%c:%s", {"%l topics|%s", "%s topic by language"}})




Navigation menu