10,735
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 1,696: | Line 1,696: | ||
table.insert(review, temp) | table.insert(review, temp) | ||
end | end | ||
end | |||
end | |||
if pp.pl == nil then | |||
table.insert(review, "* <code>PL</code> = <code>2S</code>") | |||
end | |||
if pp.depers == nil then | |||
table.insert(review, "* <code>DEPERS</code> = <code>2S</code>") | |||
end | |||
if pp.imp == nil then | |||
if type(pp.a) == "table" then | |||
for i,j in ipairs(pp.a) do | |||
local temp = "* <code>IMP[" .. i .. "]</code>" .. (pp.vstem and (": '''" .. mw.ustring.gsub(j['word'], "va$", "ja") .. "'''")) or " = <code>A[" .. i .. "]</code>" | |||
if j['note'] then temp = temp .. " (" .. j['note'] .. ")" end | |||
table.insert(review, temp) | |||
end | |||
elseif type(pp.a) == "string" then | |||
table.insert(review, "* <code>IMP</code>" .. (pp.vstem and (": '''" .. mw.ustring.gsub(pp.a, "va$", "ja") .. "'''")) or " = <code>A</code>") | |||
end | |||
end | |||
if pp.epst == nil then | |||
if type(pp.pst) == "table" then | |||
for i,j in ipairs(pp.pst) do | |||
local temp = "* <code>EPST[" .. i .. "]</code>: '''" .. j['word'] .. "e'''" | |||
if j['note'] then temp = temp .. " (" .. j['note'] .. ")" end | |||
table.insert(review, temp) | |||
end | |||
elseif type(pp.pst) == "string" then | |||
table.insert(review, "* <code>EPST</code>: '''" .. pp.pst .. "e'''") | |||
end | end | ||
end | end |