def add_template(self, tpl):
        """
        Add and index a template into the `templates` container.

        :param tpl: The template to add
        :type tpl: alignak.objects.item.Item
        :return: None
        """
        tpl = self.index_template(tpl)
        self.templates[tpl.uuid] = tpl
Add and index a template into the `templates` container.

        :param tpl: The template to add
        :type tpl: alignak.objects.item.Item
        :return: None