টেমপ্লেট:DJVU page link/নথি
এটি টেমপ্লেট:DJVU page link-এর জন্য একটি নথির উপপাতা। এখানে ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী এবং অন্যান্য সামগ্রী রয়েছে যা মূল টেমপ্লেট পাতার অংশ নয়। |
- Helper template to display a page number (param 1), linking to the page within the DJVU file with an offset specified in param 2.
This template gives links for tables of contents using a page number from the original text and a simple offset to link to the page in the DJVU scan.
Usage
[সম্পাদনা]{{DJVU page link|real number|djvu offset}}
In the main namespace, this gives a simple, unlinked label consisting of {{{1}}}, the number in the "real" book.
In the page: namespace, it gives a link to the relevant page in the DJVU with the number in the first parameter added to the second (Page:XXXX.djvu/{{{1}}}+{{{2}}}). The correct DJVU file is deduced from the page the template is used on.
In the index namespace, it will additionally show the proofreading status of the pages as a background colour.
Example
[সম্পাদনা]In the table of contents for Mandragora:
{{DJVU page link|1|16}}
This will then link to page 17 (i.e. 1+16), which is "Page:Mandragora.djvu/17" from the page it is used on and the index page when transcluded, and will show the page number (unlinked) in the main namespace. In both places, the link will read "1".
See also
[সম্পাদনা]- {{DJVU page link 2}} for use when a simple offset won't work (due to the linked-to page being before page 1 (eg a preface on page "i") or when the book doesn't have a simple numbering system.