code: def expand_template(template, value):
      
      value = wrap(value)
      if is_text(template):
          return _simple_expand(template, (value,))
  
      return _expand(template, (value,))
docs: :param template: A UNICODE STRING WITH VARIABLE NAMES IN MOUSTACHES `{{.}}`
      :param value: Data HOLDING THE PARAMTER VALUES
      :return: UNICODE STRING WITH VARIABLES EXPANDED