"मोड्युल:If empty" का संशोधनहरू बिचको अन्तर
Content deleted Content added
सा Protected Module:If empty: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)) |
actually, only the first 8 need this check |
||
पङ्क्ति ४:
local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})
-- For backwards compatibility reasons, the first
-- even though there's really no legitimate use case for this. At some point, this will be removed.
local lowestNil = math.huge
for i =
if args[i] == nil then
args[i] = ''
|