Peppermint (talk | contribs) m 1 revision imported |
Peppermint (talk | contribs) m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
function p.main(frame) | function p.main(frame) | ||
local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) | local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false}) | ||
for k,v in ipairs(args) do | for k,v in ipairs(args) do | ||
if v ~= '' then | if v ~= '' then | ||
return v | return v | ||
end | end | ||
end | end | ||
end | end | ||
return p | return p |
Latest revision as of 02:24, 17 December 2023
File:Semi-protection-shackle-no-text.svg | <translate> This module is [[<tvar name=1>Special:MyLanguage/Category:Modules subject to page protection</tvar>|subject to {{<tvar name=2>#if:</tvar>|cascading|page}} protection]].</translate> <translate> It is a highly visible module in use by a very large number of pages.</translate> <translate> Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[<tvar name=1>Special:MyLanguage/Project:Protected page</tvar>|protected]] from editing.</translate> |
Lua logo | Uses Lua: |
This module supports Template:If empty.