code: @SafeVarargs
    public static <E extends Enum<E> & TemplatePathInfo> TemplatePathInfo forPage(@NotNull Page page, @NotNull Class<E> @NotNull... templateEnums) {
      if (page == null || templateEnums == null) {
        return null;
      }
      String templatePath = page.getProperties().get(NameConstants.PN_TEMPLATE, String.class);
      return forTemplatePath(templatePath, templateEnums);
    }
docs: Lookup template for given page.
  @param page Page
  @param templateEnums Templates
  @param <E> Template enum
  @return The {@link TemplatePathInfo} instance or null for unknown template paths