WRITE TEMPLATE FOR SLIDE