Added: Template support for pagination and its buttons