Module:If empty: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (1 revision imported: Wikipedia) |
m (1 revision imported from wikipedia:Module:If_empty) |
||
(5 intermediate revisions by 5 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 22:43, 17 March 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 depends on the following other modules: |
This module supports Template:If empty.