magpie templates. SMARTY examplesls