Template:Document page number

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (21:03, 20 November 2012) (edit) (undo)
 
(4 intermediate revisions not shown.)
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><!--
<noinclude>{{documentation}}</noinclude><includeonly><!--
-
-->{{property get|has pdf}}<!--
+
-->{{Anchor|Page {{#expr: {{{1}}} }}}}<!--
 +
 
 +
the word "Page" is the link to the PDF
 +
 
 +
-->{{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

Template:Document page number/Doc:
Related Templates
Document pdf Attach original pdf
Document page number Record page number
Document elide Skip a portion of the document
Document original Quote text from the original document.
Document icon Include an icon in the document
Document annotate Record information external to the document
Document sic Transcription error is in the original

The template {{Document page number|pagenum}} displays the page number of a document.

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>.

Personal tools