Jump to content

Ns828:If empty

From InfraWiki
Revision as of 21:49, 16 January 2024 by imported>Polpot (Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) -- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, -- even though there's really no legitimate use case for this. At some point, this will be removed. local lowestNil = math.huge for i = 8,1,-1 do if args[i] == nil then args[i] = '' lowestNil = i end end for...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning: Content model unknown is not supported on this wiki.