add template for some layer and scene