code: def emoticons_tag(parser, token):
      
      exclude = ''
      args = token.split_contents()
      if len(args) == 2:
          exclude = args[1]
      elif len(args) > 2:
          raise template.TemplateSyntaxError(
              'emoticons tag has only one optional argument')
  
      nodelist = parser.parse(['endemoticons'])
      parser.delete_first_token()
      return EmoticonNode(nodelist, exclude)
docs: Tag for rendering emoticons.