സഹായം:പേജ് നമ്പറുകൾ

വിക്കിഗ്രന്ഥശാല സംരംഭത്തിൽ നിന്ന്
ഈ താൾ ഇംഗ്ലീഷിലാണ്. പരിഭാഷപ്പെടുത്തേണ്ടതുണ്ട്.
Page numbers
Documentation for using page numbering on Wikisource.

Overview[തിരുത്തുക]

Wikisource transcriptions replace the number at the top or bottom of a page (eg. a printed work), avoiding the need for page-breaks in the text.

Page numbers are separated from the main body of the text on Wikisource. When proofreading pages in the Page namespace, page numbers should be transcribed into the header or footer. They will then be visible in the Page namespace, with the complete content of the page scan, but they will not be displayed in the main page.

However, page numbers should be included in pages field of the Index page of a work being transcribed. The page numbers used here will be visible in the main namespace as links floating along the left-hand-side of the text using the code in Mediawiki:PageNumbers.js. These links highlight the corresponding page when hovered over, and will link to the original page scan in the Page namespace. Therefore, all page numbers used in the Index page should be as faithful to the original page numbering as possible.

Page numbers in the Index namespace[തിരുത്തുക]

See Multilingual Wikisource

The pages field of the Index page template is usually filled with the <pagelist /> command. Pagelist will automatically list all pages in the associated scan (assuming a DjVu or PDF file). This command can include a list of parameters to generate a full page list that faithfully reproduces the page numbering of the original work.

Set page[തിരുത്തുക]

The most basic way to use pagelist is to set a page number. This is commonly done to set the first numbered page of the text. The parameter is A=B, where A is the page of the scanned document and B is the desired page number to be displayed. The sequence of numbers will continue automatically from the set number.

For example, if the page in the scanned work with the page number 1 is the tenth page of the scan, the command would be <pagelist 10=1 />. This is necessary because scanned works will rarely start on the first page. Page numbering will continue in sequence after the page set to be 1, so the eleventh page of the scan will be numbered 2, the twelfth page will be numbered 3, etc.

Pages do not need to be set to numbers. Any string that is not a style will be used as the page number.

For example, <pagelist 7=title /> will use the word "title" for the page number of the 7th page of the scan.

Set range[തിരുത്തുക]

Ranges of pages can be used instead of individual pages. The parameter is AtoB=C, where A is the start of the range in the scanned document, B is the end of the range and C is the desired page number.

For example, the parameter <pagelist 1to9=- /> will display the first nine pages of the page list (corresponding to the first nine pages of the scanned document) as a dash ("-").

Set style[തിരുത്തുക]

Page numbering can be set to one of a few styles. If no style is set, the display will default to arabic numerals (eg. 1, 2, 3, etc). This is used with the methods for page numbering (or page naming) as described. To set an individual page, use A=style; to set a range of pages, use AtoB=style.

For example, to have the pages 10 to 20 display in lowercase roman numerals (which is common for front matter in some works, the code to be used would be 10to20=roman.

Pagelist styles
Style Effect
roman Displays numbers as lowercase roman numerals (eg. i, ii, iii, etc)
highroman Displays numbers as uppercase roman numerals (eg. I, II, III, etc)
empty Displays page numbers as unlinked. Do not use this style. Instead, set the page's status to Without text.

Combined[തിരുത്തുക]

Multiple parameters can be combined in the page list by including them in series. It can be helpful, by making the commands clearer and more legible, to have each parameter on a different line:

Example 1
<pagelist 1to9=- 10=1 10to20=roman 21=1 />
Example 2
<pagelist
1to9=-
10=1
10to20=roman
21=1
/>

Un-numbered pages[തിരുത്തുക]

Pages that do not have a printed page number (either on the page or by inference from the sequence of other pages) still require some numbering or symbol in the pagelist, a hyphen (-) is commonly used. If no number or symbol is provided, the numbering from previous pages will be continued into the un-numbered pages (or it will start from 1 if no appropriate previous sequence is available).


Page numbers in the Page namespace[തിരുത്തുക]

When transcribing a page in the Page namespace, page numbers and similar details should be transcribed into either the header or footer. Page numbers at the top of the page should be transcribed into the header; page numbers at the bottom of the page should be transcribed in the footer of the page. This ensures that all the text is transcribed and can be seen in the Page namespace but that it will not be transcluded into the main namespace.

Page numbers should not be transcribed into the main window. The text in main window will be transcluded in the main namespace, in which page numbers should not appear (except floating page links generated by the system).

Formatting[തിരുത്തുക]

Standard formatting techniques and templates can be used to format page numbers and some specific templates exist to make this easier.

If the page number is on the left side of the page, it can be left as it is. Centered page numbers can be created with the {{center}} template. Page numbers on the right side of the page can be positioned with the {{right}} template.

For example:

pg. 1
{{center|352}}
{{right|iv.}}

pg. 1

352


iv.


In some cases, usually the header, page numbers are combined with other elements such as chapter titles, chapter numbers, dates and other details. Often these follow the pattern of an item on the left, in the center and/or on the right. This format can be achieved with the {{RunningHeader}} template (abbreviated to {{rh}}).

The general usage of this template is: {{RunningHeader| left | center | right }}.

For example:

{{RunningHeader|ii.|Introduction.}}
{{RunningHeader||The Final Chapter|240}}
{{rh|Smith, J|Paper title|123}}
ii.
Introduction.
240
The Final Chapter
Smith, J
123
Paper title

Note the use of the abbreviated version of the template in the last example.

Other effects can be combined to mimic the printed version as much as possible. For example, a running header with additional text effects and a full horizontal rule can be created like this:

{{RunningHeader||''{{sp|PREFACE}}''|{{smaller|xiv.}}}}{{rule}}
xiv.
PREFACE

Page numbers in the Main namespace[തിരുത്തുക]

Transclusion[തിരുത്തുക]

Page numbers are displayed in the main namespace when works are transcluded from the Index and Page namespaces. These page numbers appear as links that float to the left of the text, near the part of the text that corresponds to each page. The numbers or symbols used for the links are derived from the pagelist in the Index page.

These page numbers have the following additional functions:

  • Highlight text: When the mouse-pointer is hovered over the page number, the text derived from the corresponding page will be highlighted.
  • Link to source: Each page number is a wikilink to the corresponding page in the Page namespace.
  • Anchors: Each page number acts as a link anchor, so html and wikilinks can be made to jump to specific pages in the transcluded text. For example, the page "12" of the text in "My Book" could be linked to via [[My Book#12]].

Hard coded[തിരുത്തുക]

Page numbers should not be entered directly into the text in the main namespace, just as they should not be included in the body of the text in the Page namespace. If page numbers have been included, they should be removed or the page should be tagged with {{numbers}} to alert other users that the numbers need to be removed.

Related maintenance[തിരുത്തുക]

Relevant maintenance tags include:

ഫലകം:Proofreading help navbox

"https://ml.wikisource.org/w/index.php?title=സഹായം:പേജ്_നമ്പറുകൾ&oldid=148630" എന്ന താളിൽനിന്നു ശേഖരിച്ചത്