code: def render_props(**kwargs):
      
      # Pop named args
      template = kwargs.pop('template', 'default')
      doc = kwargs.pop('doc', "render properties")
  
      params = {}
  
      # Template parameters
      if template in TEMPLATE:
          params.update(TEMPLATE[template])
  
      # override template with any additional params
      params.update(kwargs)
  
      # return parameter instance
      return RenderParam(params, doc=doc)
docs: Return a valid property for cleaner referencing in :class:`Part <cqparts.Part>`
      child classes.
  
      :param template: name of template to use (any of ``TEMPLATE.keys()``)
      :type template: :class:`str`
      :param doc: description of parameter for sphinx docs
      :type doc: :class:`str`
  
      :return: render property instance
      :rtype: :class:`RenderParam`
  
      .. doctest::
  
          >>> import cadquery
          >>> from cqparts.display import render_props
          >>> import cqparts
          >>> class Box(cqparts.Part):
          ...     # let's make semi-transparent aluminium (it's a thing!)
          ...     _render = render_props(template='aluminium', alpha=0.8)
          >>> box = Box()
          >>> box._render.rgba
          (192, 192, 192, 0.8)
  
      The tools in :mod:`cqparts.display` will use this colour and alpha
      information to display the part.