add some examples and template attributes support

template-header - attribute for header template id
template-pagination - attribute for pagination template id