code: public static TemplatePathInfo forPage(@NotNull Page page, @NotNull TemplatePathInfo @NotNull... templates) {
      if (page == null || templates == null) {
        return null;
      }
      String templatePath = page.getProperties().get(NameConstants.PN_TEMPLATE, String.class);
      return forTemplatePath(templatePath, templates);
    }
docs: Lookup template for given page.
  @param page Page
  @param templates Templates
  @return The {@link TemplatePathInfo} instance or null for unknown template paths