Difference between revisions 40028 and 40029 on test2wiki

-- This is a test of scribbling. Using Italian templates from en.wiktionary.
-- Owner SemperBlotto
local p = {}

function p.itadj(frame)
    local pframe = frame:getParent()
    local args = pframe.args
    local stem = args[1] or error("1st parameter (stem of adjective) missing!")
(contracted; show full)
    conj = conj .. '| colspan="1" | ' .. inf .. '\n'
    conj = conj .. '|-\n'
    conj = conj .. '! colspan="2" style="background:#e2e4c0" | auxiliary verb\n'
    conj = conj .. '| colspan="1" | ' .. aux ..'\n'
    conj = conj .. '! colspan="2" style="background:#e2e4c0" | gerund\n'

-- This is all wrong - How to construct a pretty table??    conj = conj .. '| colspan="2" | ' .. ger .. '\n'
    conj = conj .. '|-\n! colspan="2" style="background:#e2e4c0" | present participle\n'
    conj = conj .. '| colspan="1" | ' .. presp .. '\n'
    conj = conj .. '! colspan="2" style="background:#e2e4c0" | past participle\n'
    conj = conj .. '| colspan="2" | ' .. pastp .. '\n'
    return conj
end

return p