Didn't know you could use templates with the transclusion function.My problems are now solved, thanks Mario!