<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def make_template(name, func, *args, **kwargs):
 """Given an arbitrary function, wrap it so that it does parameter sharing."""

  if args or kwargs:
    func = functools.partial(func, *args, **kwargs)
  return Template(name, func)