# Module:Set local argument names

From faraghaib
Jump to navigation Jump to search

-- Intended to set local arguments in args table -- Useful for localizing modules and defining args in local language

return function(args_table, args) for k, v in pairs(args) do if args_table[v] then args_table[k] = args_table[v] end end end

Retrieved from "https://en.faraghaib.ir/w/index.php?title=Module:Set_local_argument_names&oldid=1351"