Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
fix logic
Tag: Reverted
args
Tag: Reverted
Line 119:
local tf_match = mw.ustring.match(arg_name,'^tf (%d+)$')
local note_match = mw.ustring.match(arg_name,'^note (%d+)$')
local tf_trigger_match = args.TF_ROOT and mw.ustring.match(arg_name, '^' .. args.TF_ROOT .. '(%d+)$')
if tf_match and yesno(arg_value, true) then
table.insert(task_forces, tf_match)