Revision 39873 of "Module:It" on test2wiki

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

mw.log()

function p.itadv(frame)
    local pframe = frame:getParent()
    local args = pframe.args
    local pagename = "'''{{PAGENAME}}'''" or args["head"]
    local sort = args["sort"]
    local cat = "[[category:Italian adverbs|" .. sort .. "]]"
    return pagename .. cat
end

return p