Revision 39942 of "Module:It" on test2wiki-- This is a test of scribbling. Using Italian templates from en.wiktionary.
-- Owner SemperBlotto
local p = {}
function p.itadv(frame)
local pframe = frame:getParent()
local config = frame.args
local args = pframe.args
local head = args["head"]
local pagename = head or ("'''" .. config.pagename .. "'''")
local sort = args["sort"]
local cat
if sort ~= nil then cat = "[[category:Italian adverbs|" .. sort .. "]]"
else cat = "[[category:Italian adverbs]]"
end
return pagename .. cat
end
function p.itnoun(frame)
local pframe = frame:getParent()
local args = pframe.args
local stem = args[1]
local gender = args[2]
local singular = args[3]
local plural = args[4]
local headword = "'''" .. stem .. singular .. "'''" .. gender .. "(plural [[" .. stem .. plural .. "]])"
return headword
end
return pAll content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://test2.wikipedia.org/w/index.php?oldid=39942.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|