How to condense variables passed through to function?

Read this... repository of snippets...