Difference between revisions 40076 and 40077 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) end return headword .. cat end function p.alts(x,y) -- For use within p.itconj function. -- Adds alternate forms to the main one with a comma in between. if y ~= nil then return x .. " , ]], [[" .. y end return x end function p.itconj(frame) -- This function builds pretty tables for Italian verb conjugation. -- It is called by other templates/functions for regular verbs, and called directly for some irregular ones. local pframe = frame:getParent() (contracted; show full) conj = conj .. '| colspan="1" | ' .. inf .. '\n' conj = conj .. '|-\n' conj = conj .. '! colspan="2" style="background:#e2e4c0" | auxiliary verb\n' conj = conj .. '| colspan="1" | ' .. aux ..'\n' conj = conj .. '! colspan="2" style="background:#e2e4c0" | gerund\n' conj = conj .. '| colspan="2" | [[' .. ger .. ']]\n' conj = conj .. '|-\n! colspan="2" style="background:#e2e4c0" | present participle\n' conj = conj .. '| colspan="1" | [[' .. presp .. ']]\n' conj = conj .. '! colspan="2" style="background:#e2e4c0" | past participle\n' conj = conj .. '| colspan="2" | [[' .. pastp .. ']]\n' conj = conj .. '|-\n! colspan="1" rowspan="2" style="background:#C0C0C0" | person\n' conj = conj .. '! colspan="3" style="background:#C0C0C0" | singular\n' conj = conj .. '! colspan="3" style="background:#C0C0C0" | plural\n' conj = conj .. '|-\n! style="background:#C0C0C0;width:12.5%" | first\n' (contracted; show full) conj = conj .. '! style="background:#c0cfe4" | lui/lei\n' conj = conj .. '! style="background:#c0cfe4" | noi\n' conj = conj .. '! style="background:#c0cfe4" | voi\n' conj = conj .. '! style="background:#c0cfe4" | essi/esse\n|-\n' conj = conj .. '! style="height:3em;background:#c0cfe4" colspan="1" | present\n' conj = conj .. '| [[' .. pres1s .. ']]\n|[[' .. pres2s .. ']]\n|[[' .. pres3s .. ']]\n|[[' .. pres1p .. ']]\n|[[' .. pres2p .. ']]\n|[[' .. pres3p .. ']]\n' conj = conj .. '|-\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=40077.
![]() ![]() 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.
|