Revision 39938 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 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
cat = "[[category:Italian adverbs|" .. sort or "" .. "]]"
return pagename .. cat
end
return p
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.
|