Module:If empty: Difference between revisions
Content added Content deleted
(actually, only the first 8 need this check) |
Vivaporius (talk | contribs) m (1 revision imported) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 3:
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
|
Latest revision as of 04:14, 20 July 2023
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This module supports Template:If empty.