create element template: header,sidebar