 |
The page number of the story currently being built or queried.
<dpPageNumber
type = "issue|section"
position = "this|last|first"
default="default text"
style="lower|upper|title|spaced|roman|decimal|identifier| noHtml|noHtmlStyle|scriptEncode|uriEncode"
link="on|off"
start="#p|#s|#w|#c|begin|end|resume"
stop="#p|#s|#w|#c|begin|end|resume"
length="#p|#s|#w|#c|begin|end"
>
A T T R I B U T E S:
- type="issue|section"
- The <dpPageNumber> tag always defaults to issue page numbering,
which numbers pages front to back in the issue. An alternate page numbering
type, section numbering, is also available. In section numbering each section
begins with page 1.
<dpPageNumber type="issue"> - 2
<dpPageNumber type="section"> - 2
- position="this|last|first"
- The default page position is always the page you are viewing,
known as "this". You may also easily access the first and last page of
the issue or section, by using the position attribute. This is frequently
used in comparison tests to see if you are currently viewing the last page
of an issue or section.
<dpPageNumber type="issue" position="this"> - 2
<dpPageNumber type="issue" position="last"> - 39
<dpPageNumber type="section" position="this"> - 2
<dpPageNumber type="section" position="last"> - 8
Please refer to the common attributes page for the common attribute descriptions.
E X A M P L E S:
<dpPageNumber>
|
2
|
Page <dpPageNumber type="section">
|
Page 2
|
<dpPageNumber style="roman">
|
II
|
The last page in this issue is page <dpPageNumber position="last">
|
The last page in this issue is page 32
|
S E E A L S O:
|
 |