Module:rad-stem: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 266: Line 266:
-- create stem and ending parameters --  
-- create stem and ending parameters --  
mw.log("Parameters:")
mw.log("Parameters:")
if stem_data[args[3]] or stem_data[args[4]] or stem_data[args[5]] or stem_data[args[6]] then
if stem_data[args[4]] or stem_data[args[5]] or stem_data[args[6]] then
local v_index = 4 -- max nucleus position
local v_index = 4 -- max nucleus position
Line 337: Line 337:
stem_raised = nil
stem_raised = nil
else error("No valid ending detected.") end
else error("No valid ending detected.") end
elseif stem_data[args[3]] then
ending = args[3]
stem = nil
stem_broken = nil
stem_broken_e = nil
stem_raised = nil
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")

Navigation menu