Create the templates for codes