Template-Based Generation of Multimedia Presentations