Module:ryn-mut: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 80: Line 80:


local function get_mutation_info(radical, override, expected)
local function get_mutation_info(radical, override, expected)
local irregular = (not override) or (expected ~= override)
local irregular = override and (expected ~= override)
local mutation = override or expected
local mutation = override or expected
local changed = mutation ~= radical
local changed = mutation ~= radical
Line 105: Line 105:
ret = ret .. '\n|-'
ret = ret .. '\n|-'
if s_irregular or n_irregular then
if s_irregular or n_irregular then
ret = ret .. '\n| colspan=2 | <small style="font-size:85%;">' .. IRREGMARKER .. 'Irregular.</small>'
ret = ret .. '\n| colspan=2 | <small style="font-size:85%;">' .. IRREG_MARKER .. 'Irregular.</small>'
end
end
if s_changed or n_changed then
if s_changed or n_changed then