docs: def _format_terse(tcolor, comps, ret, colors, tabular):
      '''
      Terse formatting of a message.
      '''
      result = 'Clean'
      if ret['changes']:
          result = 'Changed'
      if ret['result'] is False:
          result = 'Failed'
      elif ret['result'] is None:
          result = 'Differs'
      if tabular is True:
          fmt_string = ''
          if 'warnings' in ret:
              fmt_string += '{c[LIGHT_RED]}Warnings:\n{w}{c[ENDC]}\n'.format(
                  c=colors, w='\n'.join(ret['warnings'])
              )
          fmt_string += '{0}'
          if __opts__.get('state_output_profile', True) and 'start_time' in ret:
              fmt_string += '{6[start_time]!s} [{6[duration]!s:>7} ms] '
          fmt_string += '{2:>10}.{3:<10} {4:7}   Name: {1}{5}'
      elif isinstance(tabular, six.string_types):
          fmt_string = tabular
      else:
          fmt_string = ''
          if 'warnings' in ret:
              fmt_string += '{c[LIGHT_RED]}Warnings:\n{w}{c[ENDC]}'.format(
                  c=colors, w='\n'.join(ret['warnings'])
              )
          fmt_string += ' {0} Name: {1} - Function: {2}.{3} - Result: {4}'
          if __opts__.get('state_output_profile', True) and 'start_time' in ret:
              fmt_string += ' Started: - {6[start_time]!s} Duration: {6[duration]!s} ms'
          fmt_string += '{5}'
  
      msg = fmt_string.format(tcolor,
                              comps[2],
                              comps[0],
                              comps[-1],
                              result,
                              colors['ENDC'],
                              ret)
      return msg