code: def linkify_templates(self):
          
          # First we create a list of all templates
          for i in itertools.chain(iter(list(self.items.values())),
                                   iter(list(self.templates.values()))):
              self.linkify_item_templates(i)
          for i in self:
              i.tags = self.get_all_tags(i)
docs: Link all templates, and create the template graph too
  
          :return: None