Please refer to the below link
CQ5 | AEM6 Solutions and Suggestions: June 2016
Customize the template selection step in wizard step-1
You need to write a clientlib file with following code to handle the template selection step-
This example explains how to auto select the template if only one template is available for selection-
$(document).on("foundation-contentloaded", function(e) { if (($(".foundation-collection-item").length==1) && ($(".foundation-collection-item.selected").length == 0)) {
$('.foundation-collection-item').click();
$(':button.coral-Wizard-nextButton').click();
}
});
Category of the clientlibs can be any of this depending on your requirement-
app.myproject.createpagewizard, cq.gui.siteadmin.admin.publishwizard, dam.gui.admin.publishassetwizard