Module:If empty: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (test: do I even need these lines?) |
|||
Line 1: | Line 1: | ||
-- this is intended to replace {{If empty}} |
-- this is intended to replace {{If empty}} |
||
local p = {}; |
|||
function p.run(frame) |
function p.run(frame) |
||
local args = require('Module:Arguments').getArgs(frame) |
local args = require('Module:Arguments').getArgs(frame) |
||
Line 9: | Line 10: | ||
return args[i] |
return args[i] |
||
end |
end |
||
return p |
Revision as of 19:02, 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.