Jump to content

Template:Script/Arabic

Wikipedia se

{{{1}}}

  • This template is to render properly Arabic-based scripts which don't use the main Arabic alphabet
  • Fixing font size at 125%
  • How to use: Type {{Script/Arabic|موسوعة}} to give you موسوعة

Use simple {{lang|ar|...}} for inline citation of Arabic language. Use {{rtl-para}} for entire paragraphs of Arabic text, however, they do not force choosing the fonts in that template.

Any user can use another font with a different size by writing the following on his custom CSS. (see Help:User style)

  • An example: Making the font size 130%, and choosing Times New Roman to be the main font with Arial as an additional font.
    • Fonts with more than one word need to be put between "
.script-arabic {
   font-size: 130% !important;
   font-family: "Times New Roman", Arial !important;
}
  • You may choose to add the line-height phrase if you wanted to make lines in a paragraph more spaced from each other, or less spaced. line-height: 125% !important; Remember to put it before the } and leave a space. The more number percentage, the more space is added. If you wanted to decrease the line height spacing, use a percentage less than 100%.

A demonstration with Times New Roman added first at 130%: موسوعة An old version of that font is freely available online, but might not display a number of characters.

The only Arabic-based letter which isn't rendered properly initially/medially is ېـ ـېـ ـې ې which is used in Pashto and Uyghur; the newest versions of the following fonts render it properly: Arabic Transparent, Arial, Scheherazade, Lateef, Microsoft Sans Serif, Segoe UI, Sakkal Majalla, Microsoft Uighur, Arabic Typesetting. (The newest versions which are available free-of-charge online are marked as bold.)

A demonstration with Scheherazade added first at 175%: موسوعة That font is freely available online, but if you chose to use it, you must increase the text size, because it shows it very small compared to other fonts.