jcm-pagination
Documentation
.. jcm-pagination:: /base/url :page_number: 2 :total_pages: 4 :previous_text: older stuff :next_text: newer stuff :style: x_out_of_y
- The argument is the base URL of the pagination system. If the page number a link points to is greater than 1,
/number/
will be appended to the base URL. :page_number:
is the number of the current page. This setting is mandatory.:total_pages:
is the total number of pages. This setting is mandatory.:previous_text:
and:next_text:
allow you to set the text of the "previous" and "next" links, respectively. These are optional, and will be set to "previous" and "next" by default.:style:
controls the look of the pagination line. Valid values aredefault
,x_out_of_y
, andmcss
. This setting is optional, and will default todefault
.