Module:labels: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 24: Line 24:
local label = l_data.labels[l_id]
local label = l_data.labels[l_id]
if label == null then
if label == null then
ret = ret .. (skip_comma and " " or ", ") .. l_id
ret = ret .. ((skip_comma or i == 1) and " " or ", ") .. l_id
skip_comma = false
skip_comma = false
else
else
ret = ret .. (skip_comma and " " or ", ") .. make_label(l_id, label)
ret = ret .. ((skip_comma or i == 1) and " " or ", ") .. make_label(l_id, label)
skip_comma = label["omit_comma"] or false
skip_comma = label["omit_comma"] or false
end
end

Navigation menu