Wikisumber:Bak pasir: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Harditaher (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Pengembalian manual suntingan sumber
Empat Tilda (bicara | kontrib)
Tidak ada ringkasan suntingan
Baris 1:
{{process header
{{Header/bak pasir
| title =Nakoda TenggangPage numbers
| section =
|author=A. Damhoeri
| previous = [[Help:Contents]]
|year=1977
| next =
|section=
| shortcut =
|previous=
| notes = Documentation for using page numbering on Wikisource.
|next= [[/Kata Pengantar/]]
|notes=Telah [[:File:ADH_0006_A._Damhoeri_-_Nakoda_Tenggang.pdf#Ringkasan|dilepas dengan lisensi bebas]]
}}
 
==Gambaran Umum==
Transkrip Wikisource menghilangkan angka pada atas atau bawah dari halaman (misal pada karya cetak), menghindari perlunya menggunakan [[Bantuan:Pemutus Halaman|pemutus-halaman]] pada teks.
 
Nomor halaman terpisah dari halaman tubuh teks Wikisource. Ketika [[Bantuan:Uji-baca|Uji-baca]] halaman pada halaman [[Bantuan:Ruangnama|Ruangnama]], nomor halaman harus dimasukkan ke bagian kop dan kaki. Mereka akan terlihat pada halaman ruangnama, dengan isi scan halaman yang lengkap, tetapi tidak akan ditampilkan di halaman utama.
 
Namun, nomor halaman ''harus'' disertakan dalam bidang halaman [[Bantuan:Halaman indeks|Halaman indeks]] dari karya yang sedang ditranskripsi. Nomor halaman yang digunakan di sini ''akan'' terlihat di ruang nama utama sebagai tautan yang mengambang di sisi kiri teks menggunakan kode di [[Mediawiki:PageNumbers.js]]. Tautan ini menyorot halaman yang sesuai saat diarahkan, dan akan menautkan ke pemindaian halaman asli di ruangnama Halaman. Oleh karena itu, semua nomor halaman yang digunakan di halaman Indeks harus sesuai dengan penomoran halaman aslinya.
 
==Page numbers in the Index namespace==
:''See [[:mul:Wikisource:ProofreadPage#The_.3Cpagelist.2F.3E_command|Multilingual Wikisource]]''
 
The pages field of the Index page template is usually filled with the <code><nowiki><pagelist /></nowiki></code> 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 numbers ===
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 <code>''A''=''B''</code>, 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 <code><nowiki><pagelist 10=1 /></nowiki></code>. This is necessary because scanned works will rarely start on the page numbered "1". 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.
 
An example of a non-numeric page number is <code><nowiki><pagelist 7="Title" /></nowiki></code>, which will use the word "Title" for the page number of the 7th page of the scan.
 
Non-numeric page numbers included in this way should be enclosed in quotation marks (<code>" "</code>).
 
Certain characters cannot be included, for example <code>[</code>, <code>]</code>, <code><nowiki>[[</nowiki></code>, <code>]]</code>, <code>{{</code>, <code>}}</code>, <code>{</code>, <code>}</code>, <code>(</code>, <code>)</code>, <code>.</code>, <code>'</code>, amongst others as these can be confused either with wiki-markup, or with internal syntax used in the construction of the page numbering displayed next to transcluded text.
 
It is strongly advised against using long non-numeric strings (or those containing spaces) for non-numeric page numbers, as this will probably overlap the main text in certain layouts.
 
If providing a series of values for '''A'''='''B''' the definitions must be provided (along with those below) in ascending order. Out-of-order definitions are not reliably processed.
 
===Set range===
Ranges of pages can be used instead of individual pages. The parameter is <code>''A''to''B''=''C''</code>, 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 <code><nowiki><pagelist 1to9=- /></nowiki></code> will display the first nine pages of the page list (corresponding to the first nine pages of the scanned document) as a hyphen ("-").
 
===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 <code>''A''=style</code>; to set a range of pages, use <code>''A''to''B''=style</code>.
 
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 <code>10to20=roman</code>.
 
{| class="wikitable" {{table style|float}}
|+ 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 <span class=quality0>Without text</span>.
|-
| folio || Counts every ''leaf'' ([[:w:Recto and verso|folio]]) instead of ''page''. The front side of the leaf is labelled ''r'' for "recto", the back side ''v'' for "verso". So 1to4=folio gives: 1<sup>r</sup> 1<sup>v</sup> 2<sup>r</sup> 2<sup>v</sup>
|-
| folioroman || As ''folio'', but with lower-case Roman numerals (i<sup>r</sup> i<sup>v</sup> ii<sup>r</sup> ii<sup>v</sup>)
|-
| foliohighroman || As ''folio'', but with upper-case Roman numerals (I<sup>r</sup> I<sup>v</sup> II<sup>r</sup> II<sup>v</sup>)
|}
 
===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:
 
Parameters must be provided in ascending order of the page numbers being defined.
 
;Example 1
<pre><pagelist 1to9=- 10=1 10to20=roman 21=1 /></pre>
 
;Example 2
<pre><pagelist
1to9=-
10=1
10to20=roman
21=1
/></pre>
 
===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 (-) or en-dash(–) is commonly used to mark pages with no content on them. 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).
 
<!--Please feel free to add to this list.
 
[[Help:Front matter|front matter]]
-->
=== Tools ===
 
There is a tool to assist in importing pagelists from sources such as the Internet Archive and Hathi Trust: see [[Help:Gadget-ImportPagelist]].
 
==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 {{tl|center}} template. Page numbers on the right side of the page can be positioned with the {{tl|right}} template.
 
For example:
<pre>
pg. 1
{{center|352}}
{{right|iv.}}
</pre>
pg. 1
{{center|352}}
{{right|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 {{tl|RunningHeader}} template (abbreviated to {{tl|rh}}).
 
The general usage of this template is: <code><nowiki>{{RunningHeader|</nowiki> ''left'' | ''center'' | ''right'' }}</code>.
 
For example:
<pre>
{{RunningHeader|ii.|Introduction.}}
{{RunningHeader||The Final Chapter|240}}
{{rh|Smith, J|Paper title|123}}
</pre>
{{RunningHeader|ii.|Introduction.}}
{{RunningHeader||The Final Chapter|240}}
{{rh|Smith, J|Paper title|123}}
 
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:
<pre>{{RunningHeader||''{{sp|PREFACE}}''|{{smaller|xiv.}}}}{{rule}}</pre>
{{RunningHeader||''{{sp|PREFACE}}''|{{smaller|xiv.}}}}{{rule}}
 
5 Entry headers such as appear on some works (notably Dictionaries) can be represented with {{rh/5}}
 
<pre>{{rh/5|5|Aa|Dictionary of Terms|Aa|6}}</pre>
{{rh/5|5|Aa|Dictionary of Terms|Aa|6}}
 
 
<pre>{{rh/5|2|{{sc|Ch.}} 2.|''Army (Annual) Act'', 1896.||59 {{sc|Vict.}}}}</pre>
{{rh/5|2|{{sc|Ch.}} 2.|''Army (Annual) Act'', 1896.||59 {{sc|Vict.}}}}
 
==Page numbers in the Main namespace==
===Transclusion===
Page numbers are displayed in the main namespace when works are [[Help:Transclude|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 <code><nowiki>[[My Book#12]]</nowiki></code>.
 
===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 {{tl|numbers}} to alert other users that the numbers need to be removed.
 
==Related maintenance==
Relevant [[Help:Maintenance tags|maintenance tags]] include:
* {{tl|Numbers}} — for pages in the mainspace that include page numbers in the body of the text. Sorts pages into [[:Category:Texts with page numbers]]
 
{{Proofreading help navbox}}
 
[[Category:Help]]