Difference between revisions 40017 and 40018 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)    local pframe = frame:getParent()
    local args = pframe.args
    local inf = args["inf"] or error("Infinitive missing!")
    local aux = args["aux"] or "avere"
    local ger = args["ger"]
    local presp = args["presp"]
    local pastp = args["pastp"]
    local conj = 
"'<div class="NavFrame"> <div class="NavHead" align=left>&nbsp; &nbsp; Conjugation of "'
    conj = conj .. inf
    conj = conj .. "</div>"
    
    return conj
end

return p