Module:Arguments/sandbox: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
move found and getTitle onto different lines
Jackmcbarn (talk | contribs)
handle sandboxes and non-tables
Line 66:
fargs = frame.args
elseif options.wrappers then
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if type(options.wrappers) ~= 'table' then
options.wrappers = { options.wrappers }
end
for _,v in pairs(options.wrappers) do
if v == title then