Module:rad-stem/templates: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 1,752: Line 1,752:
if type(pp.pst) == "table" then
if type(pp.pst) == "table" then
for i,j in ipairs(pp.pst) do
for i,j in ipairs(pp.pst) do
local temp = "* <code>EPST[" .. i .. "]</code>: '''" .. j['word'] .. "e'''" .. endings['e']
local temp = "* <code>EPST[" .. i .. "]</code>: '''" .. j['word'] .. "e'''" .. endings['epst']
if j['note'] then temp = temp .. " (" .. j['note'] .. ")" end
if j['note'] then temp = temp .. " (" .. j['note'] .. ")" end
table.insert(review, temp)
table.insert(review, temp)
end
end
elseif type(pp.pst) == "string" then
elseif type(pp.pst) == "string" then
table.insert(review, "* <code>EPST</code>: '''" .. pp.pst .. "e'''" .. endings['e'])
table.insert(review, "* <code>EPST</code>: '''" .. pp.pst .. "e'''" .. endings['epst'])
end
end
end
end