Module:rad-stem: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 332: Line 332:
elseif stem_data[args[v_index]] then
elseif stem_data[args[v_index]] then
ending = args[v_index]
ending = args[v_index]
stem = nil
stem = ""
stem_broken = nil
stem_broken = ""
stem_broken_e = nil
stem_broken_e = ""
stem_raised = nil
stem_raised = ""
else error("No valid ending detected.") end
else error("No valid ending detected.") end
elseif stem_data[args[3]] then
elseif stem_data[args[3]] then
ending = args[3]
ending = args[3]
stem = nil
stem = ""
stem_broken = nil
stem_broken = ""
stem_broken_e = nil
stem_broken_e = ""
stem_raised = nil
stem_raised = ""
else
else
error("Invalid format: Please format the arguments as hv|o~u^u|þ, dv|a^u|n|þ, he|rḤ or lorál|eH")
error("Invalid format: Please format the arguments as hv|o~u^u|þ, dv|a^u|n|þ, he|rḤ or lorál|eH")