Module:labels: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 19: Line 19:
end
end
if wikipedia ~= nil then
if wikipedia ~= nil then
return "[[w:" .. (type(wikipedia) == "string" and wikipedia or label_id) .. "]]", cat_out
return "[[w:" .. (type(wikipedia) == "string" and wikipedia or label_id) .. "|" .. label_id .. "]]", cat_out
end
end
return label_id, cat_out
return label_id, cat_out