Revision 39875 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 head = args["head"]
local pagename
if head > nil then pagename = head
else pagename = "'''{{PAGENAME}}'''"
end
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
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.
|