Module:If empty: Difference between revisions
Jump to navigation
Jump to search
robloxscpwiki>WikiAdmin m (1 revision imported) |
m (1 revision imported) |
(2 intermediate revisions by 2 users not shown) | |
(No difference)
|
Latest revision as of 18:17, 22 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 Lua module is used on approximately 2,950,000 pages, or roughly 258319% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This module supports Template:If empty.
local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) local lastk = 0 for k,v in ipairs(args) do if v ~= '' then return v end lastk = k end end return p