Template:Document page number
From PCSAR
(Difference between revisions)
(2 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
<noinclude>{{documentation}}</noinclude><includeonly><!-- | <noinclude>{{documentation}}</noinclude><includeonly><!-- | ||
- | -->{{ | + | -->{{Anchor|Page {{#expr: {{{1}}} }}}}<!-- |
- | + | the word "Page" is the link to the PDF | |
- | -->|page={{{1}}}<!-- | + | -->{{Plainlink<!-- |
+ | |||
+ | Give the full url so we can specify the page | ||
+ | |||
+ | -->|{{fullurl:<!-- | ||
+ | |||
+ | -->{{property get|has pdf}}<!-- | ||
+ | |||
+ | -->|page=<!-- | ||
+ | |||
+ | -->{{#expr:<!-- | ||
+ | |||
+ | -->{{{1}}}<!-- | ||
+ | |||
+ | -->-{{property get|start page number|{{property get|has pdf}}|Default=1}}<!-- | ||
+ | |||
+ | -->+1<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | |||
+ | -->}}<!-- | ||
+ | |||
+ | -->|Page<!-- | ||
-->}}<!-- | -->}}<!-- | ||
+ | |||
+ | space between "Page" and then page number | ||
+ | |||
+ | --> <!-- | ||
+ | |||
+ | the page number is the link to the annotated text | ||
+ | |||
+ | -->[[#Page {{#expr: {{{1}}} }}|{{{1}}}]]<!-- | ||
+ | |||
+ | --><br/><!-- | ||
--></includeonly> | --></includeonly> |
Current revision
This is the documentation for the template Template:Document page number
The template The word "Page" will be a link to the corresponding page of the PDF. The number will be a link to itself, an anchor to the section of the annotated transcription for that page number. |
To see how this template is implemented,
edit this page and examine the portion
between <includeonly>
and </includeonly>
.