Siirry sisältöön

Moduuli:verbipilkkoja-4

Wikisanakirjasta

Tämän moduulin ohjeistuksen voi tehdä sivulle Moduuli:verbipilkkoja-4/ohje

local p = {}
 
function p.pilko( frame )
    local a = frame.args[1] -- verhart
    local b = frame.args[2] -- verhärt
    local c = frame.args[3] -- et
    local d = frame.args[4] -- i
    local e = frame.args[5] -- pp
    local first_letter = mw.ustring.sub(a, 1, 1, 1, 1, 1)
    local rest = mw.ustring.sub(a, 2, j)
    return first_letter .. '|' .. rest .. '|' .. b .. '|' .. c .. '|' .. d .. '|' .. e
end
 
return p