Content deleted Content added
The Mol Man (talk | contribs) ←Created page with 'local p = {} local getArgs local CC_backgrounds = { r = { ['background-color'] = '#FFE6E6' }, d = { ['background-color'] = '#FFE6E6' }, g = { ['background-c...' |
The Mol Man (talk | contribs) No edit summary |
||
Line 47:
-- looks for parameter "name", otherwise returns "{{{name}}}"
local function argOrCall(name)
return mw.text.trim(args[name]) or String.format('{{{%s}}}',name)
end
Line 54:
local week_tbl = {}
week_tbl.name = 'Week' .. argsOrCall('Week'..i)
week_tbl.date =
week_tbl.cells = {}
|