Module:WikiProject banner/auxiliary and Module:WikiProject banner/auxiliary/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>MSGJ
support for "taskforce" parameter
 
imported>MSGJ
+todo
 
Line 1: Line 1:
require('strict')
require('strict')
local p = {}
local p = {}
local sandbox-- = '/sandbox' -- BE SURE TO COMMENT OUT this definition when deploying to live
local sandbox = '/sandbox' -- BE SURE TO COMMENT OUT this definition when deploying to live
local cfg = mw.loadData('Module:WikiProject banner/config' .. (sandbox or ''))
local cfg = mw.loadData('Module:WikiProject banner/config' .. (sandbox or ''))
local yesno = require('Module:Yesno')
local yesno = require('Module:Yesno')
Line 509: Line 509:
end
end
end
end
end
if config.todo then
args.TODO_LINK = config.todo.link
args.TODO_TEXT = config.todo.text
args.TODO_STYLE = config.todo.style
args.TODO_TITLE = config.todo.title
args.TODO_TITLE_STYLE = config.todo.title_style
args.TODO_EDITLINKS = config.todo.editlinks==false and 'no' or 'yes'
end
end
if config.doc then
if config.doc then