মিডিয়াউইকি:Proofreadpage header template

উইকিসংকলন থেকে
বিস্তারিত সাহায্যের জন্য সাহায্য:পরিলেখন দেখুন দেখানে <pages index=… /> ট্যাগ সংক্রান্ত সকল বর্ননা আছে
  • <pages/> ট্যাগ দ্বারা উৎপন্ন হবে ও টাইটেল বক্স বা শিরনামে আসবে
  • নির্ঘণ্ট পাতায় <pages/> ট্যাগ থেকে লিখিত এই তেমপ্লেটের মাধ্যমে নিচের প্যারামিটার গুলি মান্যতা দেবে ও গ্রহণ করা হয়েছে।
  • প্যারামিটার গুলি "pages" কে মান্যতা দেবে।
  • উদাহরণ :
 <pages index="নির্ঘণ্ট ফাইলের নাম" header=1 লেখক="[[রবীন্দ্রনাথ ঠাকুর ]]"/>
প্রযুক্তিগত বিবরণ

This template is implemented in Lua via the মডিউল:Header template . It uses the following parameters defined by the ProofreadPage extension:

Parameter description
from the user-defined from value , 1 by default
displayed_from the page number to be displayed for the first page (default one defined in Index: page )
to the user-defined to value , defaults to the last page
displayed_to the page number to display for the last page (by default the one defined in the Book Index: page)
current the name of the link pointing to the current page in the contents of the Book Index: page
prev the name of the link pointing to the page preceding the current page in the contents of the Book Index: page
next the name of the link pointing to the page following the current page in the contents of the Book Index: page
value the value of the header attribute of the <pages/>tag , or toc if neither from nor to are specified

The other parameters are the names of the fields appearing in the Book index form. Their value is the one that appears in the form, unless the user redefined it in the <pages/> tag , in which case the value of the tag takes precedence over that of the index.

For the type parameter , the value appearing in the drop-down menu of the index page form is converted into a name for internal use according to the following correspondence table:


internal value drop-down menu value
book Delivered
collection Collection
journal Journal or magazine
Phd thesis Thesis, report
dictionary Dictionary, encyclopedia, reference work

This is the internal value that is used by the model. Likewise, if the user wishes to redefine the value of the type field inside the <pages /> tag , he must use the internal value.