Module:labels: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
No edit summary
Line 24: Line 24:
end
end
local l_data = mw.loadData("Module:labels/data")
local l_data = mw.loadData("Module:labels/data")
local out = nobrackets and "" or "(<i>"
local out = nobrackets and "<i>" or "(<i>"
local cats = ""
local cats = ""
local skip_comma = false
local skip_comma = false
Line 94: Line 94:
end
end
end
end
out = out .. (nobrackets and "" or "</i>)")
out = out .. (nobrackets and "</i>" or "</i>)")
return out .. (nocat and "" or cats)
return out .. (nocat and "" or cats)
end
end