37:
68:
106:
727:
Remember to put it before the }. The more number percentage, the more space is added. If you wanted to decrease the line height spacing, decrease the percentage. You may use any number (e.g. 85% or 140%) or use the special value "normal" which will properly use the minimum setting of the line-height
430:
and present to remove boldness, e.g. in section titles, because Arabic diacritics are best read only in normal weight, but also because some fonts do not exist in bold styles; without it, other fallback fonts would be used instead (possibly with lover coverage), or boldness may be synthetized from a
446:
style which is part of the site-wide CSS stylesheet; this HTML attribute also activates the CSS style "direction: rtl" (which should be implemented by default in browsers, but is also set in the site-wide CSS stylesheet). This attribute can be disabled via
757:
Arial, 'Times New Roman', 'Sakkal Majalla', 'Microsoft Uighur', 'Arabic Typesetting', 'Microsoft Sans Serif', 'Segoe UI'. (The newest versions which are available free-of-charge online are marked as
719:
The list of fonts should always be terminated by the pseudo-font names "sans-serif" and/or "serif", to allow using the fonts defined in user preferences in their browser, or the fonts set by default in
1389:
52:
783: 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.
1422:
1385:
48:
1438:
166:
parameter can be used to override the generated style (for example another font size) or to specify additional CSS formattings (e.g. color).
56:
1443:
1371:
723:
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.
427:
119:
639:
An example making the font size 105%, and choosing Droid Arabic Naskh to be the main font with Arial as an additional font :
1350:
138:
130:
This template is to render properly Arabic-based scripts which don't use the main Arabic alphabet, also to ensure that
92:
84:
80:
1418:
1379:
1165:
44:
754:
Scheherazade New, Scheherazade, Lateef, Amiri, Noto Naskh Arabic, Droid Arabic Naskh, Noto Sans Arabic, Harmattan,
629:
1161:
1153:
1362:
543:
873:
The default line-height used by
Knowledge (XXG) is 1.5 em, which can be lower or higher than the font default,
612:(lacks a few characters; has errors with combining shadda with kasra; lacked a bold weight on older versions)
600:(lacks a few characters; errors with combining shadda with kasra; in older versions, lacked a normal weight)
1353:(its documentation page features a table showing a full test of contextual Arabic letter shapes supported).
88:
1157:
576:
876:
reduce it to the minimum recommended for HTML by using the word normal or for example, use a percentage
191:
for entire paragraphs of Arabic text, however, they do not force choosing the fonts in that template.
1356:
775:
483:
500:(appears feathery on Windows; errors with combining shadda with kasra and some Rohingya diacritics
112:
1375:
185:
131:
813:
704:
Font names containing spaces (or any other character than a letter) need to be put between
581:(essentially look the same; lack a few characters; errors with combining shadda with kasra)
507:
173:
parameter can be used for specifying additional HTML attributes (for example a descriptive
1169:
748:
744:
733:
633:
528:
17:
804:
594:(lacks a few characters; lacks a bold weight; errors with combining shadda with kasra)
1432:
788:
547:
512:
159:
The 1st parameter is mandatory and contains the text written in the Arabic script.
105:
906:/* The following fonts are recommended for best coverage of the Arabic script: */
628:
Any user can use another font with a different size by writing the following on
501:
75:
999:/* Required at end to actually enable the override and make it work : */
560:
If the previous fonts are not installed, other fallback fonts would display:
731:
Some Arabic-based letters aren't rendered properly by some old versions of
31:
568:
769:
479:
181:
Use simple {{lang|ar|...}} for inline citation of Arabic language. Use
969:/* Other fonts supporting the Arabic script with partial coverage: */
951:/* commercial font, also installed with recent versions of Windows */
826:
533:
442:
HTML element is sufficient to also activate on
Knowledge (XXG) the
798:
518:
79:
and changes may be widely noticed. Test changes in the template's
751:; the newest versions of the following fonts render it properly:
542:
These fonts contain all Arabic character defined in
Unicode (see
488:
966:/* commercial fonts installed with recent versions of Windows */
618:(lacks a bold weight; errors with combining shadda with kasra)
537:(lacks a bold weight; errors with combining shadda with kasra)
100:
62:
987:/* Warning! Old versions may not support a few characters. */
978:/* Warning! Old versions may not support a few characters. */
1365:(used for the text written in Nastaliq styled Arabic script)
802:), it is folded on itself, rather than normally rendered in
496:
475:
Template intended to force following fonts if installed:
796: However, it has an error in displaying the word (
1410:
1402:
1398:
990:/* Default fallback fonts determined in the browser: */
419:
The font size was fixed at 125% for better readability.
550:, but not all the redundant glyphs used in stylizing.
516:(better at smaller sizes; has an error in displaying
1395:Editors can experiment in this template's sandbox
431:non-bold font (making most diacritics unreadable).
546:) for text in the various languages that use the
8:
1191:
834: That font is freely available online.
821: That font is freely available online.
1172:in articles based on its TemplateData.
624:How to override fonts in user's preferences
1197:
1180:
606:(errors with combining shadda with kasra)
588:(only the newer versions render Arabic)
448:
231:"script-arabic script-Arab"
150:{{Script/Arabic|موسوعة}} to give you
91:. Consider discussing changes on the
7:
1166:See a monthly parameter usage report
216:"Script/styles_arabic.css"
1014:Another example without the notes:
728:recommended by each candidate font.
199:The template contains this phrase:
24:
428:Template:Script/styles arabic.css
120:Template:Script/styles arabic.css
104:
66:
35:
1351:Template:Arabic alphabet shapes
139:template:Arabic alphabet shapes
1439:Templates using TemplateStyles
434:Specifying the HTML attribute
76:approximately 3,500 pages
1:
1359:(enable Uyghur styled fonts)
1127:'Arabic Typesetting'
1091:'Droid Arabic Naskh'
960:'Arabic Typesetting'
933:'Droid Arabic Naskh'
677:'Droid Arabic Naskh'
1067:'Noto Naskh Arabic'
909:'Noto Naskh Arabic'
623:
1460:
1380:Template:Script/Arabic/doc
1369:
1156:for this template used by
1121:'Microsoft Uighur'
1079:'Scheherazade New'
954:'Microsoft Uighur'
921:'Scheherazade New'
740:ېـ ـېـ ـې ې
1423:Subpages of this template
1205:
1109:'Times New Roman'
981:'Times New Roman'
831:
818:
793:
780:
739:
519:
151:
95:before implementing them.
87:subpages, or in your own
74:This template is used on
26:
1363:Template:Script/Nastaliq
1115:'Sakkal Majalla'
1016:
945:'Sakkal Majalla'
840:
641:
544:Arabic script in Unicode
201:
137:It is also used for the
1175:TemplateData for Script
1417:Add categories to the
449:|no_rtl_mark=
40:Template documentation
1444:Script–font templates
830:added first at 125%:
824:A demonstration with
817:added first at 125%:
811:A demonstration with
792:added first at 105%:
786:A demonstration with
779:added first at 175%:
767:A demonstration with
592:Microsoft Sans Serif
492:(lacks a bold weight)
1357:Template:Ug-textonly
996:/* No comma here! */
789:'Droid Arabic Naskh'
1337:
1202:
1200:Template parameters
616:Arabic Typesetting
444:unicode-bidi: embed
424:font-weight: normal
111:This template uses
1198:
1196:
725:line-height: 125%;
714:
708:
583:Arabic Transparent
579:, Times New Roman
513:Droid Arabic Naskh
1341:
1340:
1336:
1335:
1218:
1192:
1164:and other tools.
814:Noto Naskh Arabic
743:which is used in
712:
706:
619:
613:
610:Microsoft Uighur
607:
601:
595:
589:
582:
573:
538:
525:
517:
508:Noto Naskh Arabic
504:
493:
464:Fonts information
323:"font-size:
134:appear properly.
132:Arabic diacritics
128:
127:
99:
98:
1451:
1414:
1406:
1393:
1319:
1296:
1273:
1250:
1227:
1219:
1203:
1181:
1143:
1140:
1137:
1134:
1131:
1128:
1125:
1122:
1119:
1116:
1113:
1110:
1107:
1104:
1101:
1098:
1095:
1092:
1089:
1086:
1083:
1080:
1077:
1074:
1071:
1068:
1065:
1062:
1059:
1056:
1053:
1050:
1047:
1044:
1041:
1038:
1035:
1032:
1029:
1026:
1023:
1020:
1009:
1006:
1003:
1000:
997:
994:
991:
988:
985:
982:
979:
976:
973:
970:
967:
964:
961:
958:
955:
952:
949:
946:
943:
942:/* free fonts */
940:
937:
934:
931:
928:
925:
922:
919:
916:
913:
910:
907:
904:
901:
898:
895:
892:
889:
886:
883:
880:
877:
874:
871:
868:
865:
862:
859:
856:
853:
850:
847:
844:
833:
820:
801:
795:
782:
770:Scheherazade New
742:
741:
726:
715:
709:
699:
696:
693:
690:
687:
684:
681:
678:
675:
672:
669:
666:
663:
660:
657:
654:
651:
648:
645:
630:their custom CSS
617:
611:
605:
599:
593:
587:
580:
565:
536:
529:Noto Sans Arabic
523:
521:
515:
499:
491:
480:Scheherazade New
458:
454:
450:
445:
441:
437:
425:
414:
411:
408:
404:
401:
398:
395:
392:
388:
385:
382:
379:
376:
373:
370:
367:
364:
361:
358:
355:
352:
349:
346:
343:
340:
337:
333:
330:
327:
324:
321:
318:
315:
311:
308:
305:
301:
298:
295:
292:
289:
285:
282:
279:
276:
273:
270:
267:
263:
260:
257:
253:
250:
247:
244:
241:
238:
235:
232:
229:
226:
223:
220:
217:
214:
211:
208:
205:
190:
184:
176:
172:
165:
153:
108:
101:
70:
69:
63:
60:
41:
39:
38:
28:
1459:
1458:
1454:
1453:
1452:
1450:
1449:
1448:
1429:
1428:
1427:
1426:
1416:
1408:
1396:
1394:
1383:
1368:
1347:
1342:
1317:
1294:
1271:
1248:
1225:
1194:No description.
1186:
1178:
1170:Template:Script
1150:
1145:
1144:
1141:
1138:
1135:
1132:
1129:
1126:
1123:
1120:
1117:
1114:
1111:
1108:
1105:
1102:
1099:
1096:
1093:
1090:
1087:
1084:
1081:
1078:
1075:
1072:
1069:
1066:
1063:
1060:
1057:
1054:
1051:
1048:
1045:
1042:
1039:
1036:
1033:
1030:
1027:
1024:
1021:
1018:
1013:
1011:
1010:
1007:
1004:
1001:
998:
995:
992:
989:
986:
983:
980:
977:
974:
971:
968:
965:
962:
959:
956:
953:
950:
947:
944:
941:
938:
935:
932:
929:
926:
923:
920:
917:
914:
911:
908:
905:
902:
899:
896:
893:
890:
887:
884:
881:
878:
875:
872:
869:
866:
863:
860:
857:
854:
851:
848:
845:
842:
797:
738:
734:Times New Roman
724:
711:
705:
701:
700:
697:
694:
691:
688:
685:
682:
679:
676:
673:
670:
667:
664:
661:
658:
655:
652:
649:
646:
643:
634:Help:User style
626:
604:Sakkal Majalla
566:(is a complete
466:
456:
452:
443:
439:
435:
426:is provided by
423:
416:
415:
412:
409:
406:
402:
399:
396:
393:
390:
386:
383:
380:
377:
374:
371:
368:
365:
362:
359:
356:
353:
350:
347:
344:
341:
338:
335:
331:
328:
325:
322:
319:
316:
313:
312:"rtl"
309:
306:
303:
299:
296:
293:
290:
287:
283:
280:
277:
274:
271:
268:
265:
261:
258:
255:
251:
248:
245:
242:
239:
236:
233:
230:
227:
224:
221:
218:
215:
212:
209:
206:
203:
197:
188:
182:
174:
170:
163:
147:
124:
67:
61:
42:
36:
34:
22:
21:
20:
18:Template:Script
12:
11:
5:
1457:
1455:
1447:
1446:
1441:
1431:
1430:
1407:and testcases
1367:
1366:
1360:
1354:
1346:
1343:
1339:
1338:
1334:
1333:
1330:
1327:
1326:
1323:no description
1320:
1315:
1311:
1310:
1307:
1304:
1303:
1300:no description
1297:
1292:
1288:
1287:
1284:
1281:
1280:
1277:no description
1274:
1269:
1265:
1264:
1261:
1258:
1257:
1254:no description
1251:
1246:
1242:
1241:
1238:
1235:
1234:
1231:no description
1228:
1223:
1217:
1216:
1213:
1210:
1207:
1188:
1187:
1185:Parameter list
1184:
1179:
1158:TemplateWizard
1151:
1149:
1146:
1017:
841:
836:
835:
822:
809:
784:
764:
763:
729:
721:
717:
642:
625:
622:
621:
620:
614:
608:
602:
596:
590:
584:
574:
558:
557:
555:
554:Non-free fonts
540:
539:
531:
526:
510:
505:
494:
486:
473:
472:
470:
465:
462:
461:
460:
432:
420:
207:templatestyles
202:
196:
195:Implementation
193:
179:
178:
167:
160:
156:
155:
146:
143:
126:
125:
123:
122:
116:
113:TemplateStyles
109:
97:
96:
71:
33:
32:
23:
15:
14:
13:
10:
9:
6:
4:
3:
2:
1456:
1445:
1442:
1440:
1437:
1436:
1434:
1424:
1420:
1412:
1404:
1400:
1391:
1387:
1381:
1377:
1373:
1372:documentation
1364:
1361:
1358:
1355:
1352:
1349:
1348:
1344:
1331:
1328:
1325:
1324:
1321:
1316:
1313:
1312:
1308:
1305:
1302:
1301:
1298:
1293:
1290:
1289:
1285:
1282:
1279:
1278:
1275:
1270:
1267:
1266:
1262:
1259:
1256:
1255:
1252:
1247:
1244:
1243:
1239:
1236:
1233:
1232:
1229:
1224:
1221:
1220:
1214:
1211:
1208:
1204:
1201:
1195:
1190:
1189:
1183:
1182:
1177:
1176:
1171:
1167:
1163:
1159:
1155:
1148:Template Data
1147:
1022:script-arabic
1015:
879:value, as 95%
846:script-arabic
839:
829:
828:
823:
816:
815:
810:
807:
806:
800:
791:
790:
785:
778:
777:
772:
771:
766:
765:
761:
756:
755:
750:
746:
736:
735:
730:
722:
718:
703:
702:
647:script-arabic
640:
637:
635:
631:
615:
609:
603:
597:
591:
585:
578:
575:
571:
570:
563:
562:
561:
556:
553:
552:
551:
549:
548:Arabic script
545:
535:
532:
530:
527:
522:
514:
511:
509:
506:
502:
498:
495:
490:
487:
485:
481:
478:
477:
476:
471:
468:
467:
463:
459:if necessary.
433:
429:
421:
418:
417:
200:
194:
192:
187:
169:The optional
168:
162:The optional
161:
158:
157:
149:
148:
144:
142:
140:
135:
133:
121:
118:
117:
114:
110:
107:
103:
102:
94:
90:
86:
82:
78:
77:
72:
65:
64:
58:
54:
50:
46:
30:
19:
1322:
1299:
1276:
1253:
1230:
1199:
1193:
1174:
1173:
1162:VisualEditor
1154:TemplateData
1152:This is the
1073:Scheherazade
1012:
915:Scheherazade
837:
825:
812:
803:
787:
776:Scheherazade
774:
768:
759:
753:
752:
732:
638:
627:
567:
559:
541:
484:Scheherazade
474:
198:
189:}}
183:{{
180:
136:
129:
89:user subpage
73:
25:
1376:transcluded
1249:no_rtl_mark
1245:no_rtl_mark
1209:Description
1061:font-family
1046:line-height
900:font-family
885:line-height
737:, such as:
671:font-family
451:with value
400:no_rtl_mark
384:no_rtl_mark
360:|}}}>{{{
297:no_rtl_mark
281:no_rtl_mark
175:title="..."
55:] [
51:] [
47:] [
1433:Categories
1370:The above
1318:attributes
1314:attributes
1136:!important
1133:sans-serif
1040:!important
1002:!important
993:sans-serif
864:!important
692:!important
689:sans-serif
665:!important
564:SF Arabic
469:Free fonts
422:The style
357:attributes
171:attributes
85:/testcases
1421:subpage.
1206:Parameter
1097:Harmattan
1028:font-size
939:Harmattan
852:font-size
838:Example:
827:Harmattan
720:browsers.
653:font-size
598:Segoe UI
534:Harmattan
436:dir="rtl"
410:‎
219:/><
93:talk page
1345:See also
1332:optional
1309:optional
1286:optional
1263:optional
1240:optional
586:Caribri
366:}}}</
186:rtl-para
81:/sandbox
1401:|
1390:history
1388:|
1329:Unknown
1306:Unknown
1283:Unknown
1260:Unknown
1237:Unknown
632:. (see
154:
53:history
29:
27:{{{1}}}
1415:pages.
1411:create
1403:mirror
1399:create
1215:Status
1085:Lateef
927:Lateef
832:موسوعة
819:موسوعة
794:موسوعة
781:موسوعة
749:Uyghur
745:Pashto
489:Lateef
372:>{{
351:"
264:"
254:"
152:موسوعة
1378:from
1295:style
1291:style
1103:Arial
972:Arial
805:naskh
683:Arial
577:Arial
572:font)
569:Apple
497:Amiri
438:in a
407:}}}||
375:#ifeq
345:style
317:style
304:}}}||
272:#ifeq
246:|}}}|
225:class
164:style
145:Usage
59:]
57:purge
43:[
16:<
1419:/doc
1386:edit
1272:size
1268:size
1212:Type
1168:for
799:ريال
760:bold
747:and
520:ريال
440:span
369:span
348:|}}}
334:125%
329:size
259:lang
249:lang
243:lang
240::{{{
222:span
204:<
49:edit
45:view
1374:is
1034:125
858:125
773:or
710:or
659:105
482:or
455:or
397:{{{
391:}}}
381:{{{
354:{{{
342:{{{
336:}}}
326:{{{
307:dir
294:{{{
288:}}}
278:{{{
262:}}}
256:{{{
237:#if
210:src
83:or
1435::
1382:.
1160:,
1052:95
891:95
882:*/
870:/*
762:.)
636:)
413:}}
339:;
314:}}
269:{{
266:}}
234:{{
177:).
141:.
115::
1425:.
1413:)
1409:(
1405:)
1397:(
1392:)
1384:(
1226:1
1222:1
1142:}
1139:;
1130:,
1124:,
1118:,
1112:,
1106:,
1100:,
1094:,
1088:,
1082:,
1076:,
1070:,
1064::
1058:;
1055:%
1049::
1043:;
1037:%
1031::
1025:{
1019:.
1008:}
1005:;
984:,
975:,
963:,
957:,
948:,
936:,
930:,
924:,
918:,
912:,
903::
897:;
894:%
888::
867:;
861:%
855::
849:{
843:.
808:.
716:.
713:"
707:'
698:}
695:;
686:,
680:,
674::
668:;
662:%
656::
650:{
644:.
524:)
503:)
457:-
453:+
405:-
403:|
394:|
389:+
387:|
378::
363:1
332:|
320:=
310:=
302:-
300:|
291:|
286:+
284:|
275::
252:=
228:=
213:=
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.