On frWP, we have Utilisateur:Orlodrim/LuaConfig that allows specifying which arguments are valid in a template.
WPCleaner could use this configuration page for additional configuration of CW#564 (unknown template argument). Syntax is different than the one used directly by WPCleaner, but it could be added, including the numbered arguments.