Module:If empty: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (test worked.. trying to simplify) |
(simpliy; just noticed the "preview page with this module" box... will no longer be doing weird tests XD) |
||
Line 2: | Line 2: | ||
function p.main(frame) |
function p.main(frame) |
||
for |
for _,v in ipairs(frame.args) do |
||
if |
if v ~= '' then |
||
return |
return v |
||
end |
end |
||
end |
end |
Revision as of 20:58, December 23, 2014
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.