code: def template_doc(**names):
      def _decorator(func):
          if not sys.version_info[:2] == (3, 2):
              if func.__doc__ is not None:
                  func.__doc__ = func.__doc__.format(**names)
          return func
  
      return _decorator
  
imports: import decimal
  import json
  import sys
  import re
  from functools import reduce
  from _plotly_utils.optional_imports import get_module
  from _plotly_utils.basevalidators import ImageUriValidator
label_desc: Use image node_id 3 for calling a global function with example usage: template_doc() and returns: _decorator, func