Pagination item templating implemented