Pager template is an ordinary HTML document that should have one mandatory element - <pageframe>. All other elements are optional.

Below is the list of all elements that behavior:pager knows about:

Attributes of the template's <html> element:

These attributes can be used in CSS of the template document for styling, for example these rules:

html[page-parity=odd] footer  { text-align:left; }
html[page-parity=even] footer { text-align:right; }

will change alignment of template's <footer> element differently for odd and even pages.