Here naverokê

Modul:Arguments

Ji Wîkîpediya, ensîklopediya azad.
Guhartoya 13:09, 1 kanûna pêşîn 2016 ya ji aliyê Sayit25 (gotûbêj | beşdarî) ('local z = {} function z.obtenerArgumentos(frame) if frame.args[1] then return frame.args end return frame:getParent().args end function z.obtenerArgumentosConValo...' ket şûna rûpelê.) ve

Xeletiya Luayê di Modul:Belgekirin de, li ser rêza 95: attempt to call upvalue 'getArgs' (a nil value).

local z = {}

function z.obtenerArgumentos(frame)
	if frame.args[1] then 
		return frame.args
	end
 
	return frame:getParent().args
end

function z.obtenerArgumentosConValor(frame)
    if frame == mw.getCurrentFrame() then
        argumentos = frame:getParent().args
    else
        argumentos = frame.args or frame
    end
    
    return require('Module:Hêlkêşan').copiarElementosConValor(argumentos)
end

return z