www.fgks.org   »   [go: up one dir, main page]

Jump to content

ഘടകം:If empty

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
10:03, 20 ഫെബ്രുവരി 2023-നു ഉണ്ടായിരുന്ന രൂപം സൃഷ്ടിച്ചത്:- Jacob.jose (സംവാദം | സംഭാവനകൾ) (en:Module:If_empty എന്നതിൽ നിന്ന് ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു)
(മാറ്റം) ←പഴയ രൂപം | ഇപ്പോഴുള്ള രൂപം (മാറ്റം) | പുതിയ രൂപം→ (മാറ്റം)

ഈ ഘടകത്തിന്റെ വിവരണം ഘടകം:If empty/വിവരണം എന്ന താളിൽ നിർമ്മിക്കാവുന്നതാണ്

local p = {}

function p.main(frame)
	local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})

	for k,v in ipairs(args) do
		if v ~= '' then
			return v
		end
	end

end

return p
"https://ml.wikipedia.org/w/index.php?title=ഘടകം:If_empty&oldid=3892852" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്