Difference between revisions 40034 and 40035 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 cat if sort ~= nil then cat = "[[category:Italian nouns|" .. sort .. "]]" else cat = "[[category:Italian nouns]]" end return headword .. cat end function p.alts(x,y) if y ~= nil then return x .. ", " .. y end return x end⏎ ⏎ function p.itconj(frame) 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 ger2 = args["ger2"] if ger2 ~= nil then ger = ger .. ", " .. ger2 end local presp = args["presp"] local presp2 = args["presp2"] if presp2 ~= nil then presp = presp .. ", " .. presp2 end local pastp = args["pastp"] local pastp2 = args["pastp2"]; local pastp3 = args["pastp3"]; local pastp3 = args["pastp3"] -- if pastp2 ~= nil then pastp = pastp .. ", " .. pastp2 end pastp = p.alts(pastp, pastp2)⏎ if pastp3 ~= nil then pastp = pastp .. ", " .. pastp3 end if pastp4 ~= nil then pastp = pastp .. ", " .. pastp4 end local conj = '<div class="NavFrame">\n' conj = conj .. '<div class="NavHead" align=left> Conjugation of ' .. inf .. '</div>\n' conj = conj .. '<div class="NavContent">\n' (contracted; show full) conj = conj .. '! colspan="2" style="background:#e2e4c0" | past participle\n' conj = conj .. '| colspan="2" | ' .. pastp .. '\n' conj = conj .. '|}</div></div>' return conj end return p All 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?diff=prev&oldid=40035.
![]() ![]() 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.
|