Template:Dotted rtl TOC row/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

These templates are designed to aid in producing tables of contents (TOCs) using where the entries are in a right-to-left language. They are begun with a {{Dotted rtl TOC begin}} and are ended with {{Dotted rtl TOC end}}. Every entry uses {{Dotted rtl TOC row}}

These templates may require more work to be compatible with more cases.

{{Dotted rtl TOC begin}}[edit]

Parameters
  • width: table max-width (optional, any CSS units), | width = 50em
  • style: any additional CSS style, | style = background-color: #eeeeee

{{Dotted rtl TOC row}}[edit]

Parameters
  • entrytext (1) : the title of the chapter or entry
  • pagetext (2) : the page number to be linked
  • symbol : any series of characters or images. Default is a single period. (".")
  • spaces (3) : The number of spaces between symbols — a number from 0 to 10. Default is 1.
  • djvupage
  • djvupageoffset
  • entry-align : Adjusts the alignment of the entry (first) column. Default is "right"; alternate choice: "justify", "left".
  • col2-width : Adjusts the width of the second column. Default is 2em.

{{Dotted rtl TOC end}}[edit]

No parameters

Example[edit]

الفصل الأول . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  ١
الفصل الحادي عشر . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  ٣٤

Page:Selections from the Sahih of al-Buhari (1906).djvu/14