Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
change order
m Removed protection from "Module:WikiProject banner/sandbox"
 
(5 intermediate revisions by 2 users not shown)
Line 864:
local demo_page = parent_args.demo_page
local config, project
if args.project then -- check for config Filepage
project = args.project
local config_file = mw.title.new('Template:WikiProject ' .. args.project .. '/config')
Line 873:
end
end
if config then -- map parameters fromuse config file
if parent_args.taskforce then -- split comma-separated list
for taskforce in mw.text.gsplit(parent_args.taskforce, ',%s*') do
parent_args[taskforce] = 'yes'
end
end
args, raw_args = require(auxiliary).map_config(config, parent_args) -- map parameters from config page
args.PROJECT = project
end