টেমপ্লেট:Dotted TOC page listing

উইকিসংকলন থেকে
ভুক্তির লেখা
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

এই টেমপ্লেটটি মূল বইয়ে থাকা বিষয়সূচীকে উইকিসংকলনের বিষয়সূচীর পাতার নামস্থানে দেখানোর জন্য প্রস্তুত করা হয়েছে।

{{Dotted TOC page listing| chaptertext | entrytext | pagetext }}

Usage[সম্পাদনা]

Parameters:

  • chaptertext (1) : অধ্যায়ের নম্বর (ঐচ্ছিক)। প্রধান শিরোনামের বামের কলামে একটি সংখ্যা দেখানোর স্থান।
  • entrytext (2) : ভুক্তি বা অধ্যায়ের শিরোনাম এই কলামে বসে।
  • pagetext (3) : যে পাতাটিকে সূচির সাথে লিংক করতে চান। যেকোনো টেক্সট বা রোমান সংখ্যা হতে পারে। যদি উইকি লিংক করতে চান তাহলে {{DJVU page link 2}} ব্যবহার করুন।
  • symbol : any series of characters or images. Default is a single period. (".")
  • spaces (4) : The number of spaces between symbols — a number from 0 to 10. Default is 1.
  • dotend : Additional text at the end of the line of dots, for offsets etc.
  • pagenum : Display page number to wikilink to; must be an Arabic number
  • positionoffset : use with pagenum to wikilink to compute page number of current document to link to, adjusted for pages of front matter
  • hi : a measure for the hanging indent when text overflows to a second line. Default is 1em.
  • chapter-width : অধ্যায়ের কলামের প্রস্থ। না দিলে 2.5em ব্যবহৃত হবে।
  • chapter-align : অধ্যায়ের কলামের অ্যালাইনমেন্ট। না দিলে “ডান” ব্যবহৃত হয়।
  • entry-align : Adjusts the alignment of the entry (second) column. Default is "left"; alternate choice: "justify".
  • entry-width : শিরোনাম কলামের প্রস্থ। দেয়া না হলে ৮০% ধরে নেবে।
  • col3-width : তৃতীয় অর্থাৎ পাতার নম্বরের কলামের প্রস্থ। দেয়া না হলে 2em ধরবে।
  • col3-align : Adjusts the alignment of the third column. Default is "right"; alternate choice: "center" or "left".
  • dottext : Replaces the series of periods (".") by text.
  • col4text : Adds an extra fourth column after the page number.
  • col4-width : Adjusts the width of the fourth column. Default is 2em.
  • col4-align : Adjusts the alignment of the fourth column. Default is "right"; alternate choice: "center" or "left".
  • col4-va : Adjusts the vertical alignment of the fourth column. Default is "bottom"; alternate choice: "middle" or "top".
  • textbackground : Adjusts the CSS background of the entry text. Default is white. (Note: this is not the same as "none")

Related[সম্পাদনা]

To cater for situations where a desired listing crosses one or more page boundaries, a number of variants upon this template exist, all of which accept the same parameters (and silently ignore any which do not apply to them):


Note: use of the named parameters are preferred when working with any of the boundary-crossing templates above.


Applying {{dotted TOC page listing/top}}{{dotted TOC page listing/continue}}{{dotted TOC page listing/bottom}} (no intervening new-lines between template invocations; all bearing same parameter specifications) should produce the same result as using {{dotted TOC page listing}} with only minor deviations from the same parameters and values normally used in the core template.

Examples[সম্পাদনা]

  • For an example of the use of {{Dotted TOC page listing}} (combined with {{TOC page listing}}) see: this page.
  • For an example of the use of {{Dotted TOC page listing/top}} (etc.) see: this page (and the next); and how it looks in the main namespace: this page.
  • For examples of pagenum and positionoffset, which work together, see (this page and the other tables of contents in that document)

Redirect[সম্পাদনা]

  • Template:TOC line — redirect usage deprecated 6/7/2014; inconsistent &/or non-descriptive naming.

See also[সম্পাদনা]