Usage edit

Template intended to force Hausawi and other West African Arabic calligraphic fonts if installed.

{{Script/Hausawi|مُتَنٜىٰنْ هَوْسَا}} to give you مُتَنٜىٰنْ هَوْسَا
  • The 1st parameter is mandatory and contains the text written in the Arabic script.
  • The optional style parameter can be used to override the generated style (for example another font size) or to specify additional CSS formattings (e.g. color).
  • The optional attributes parameter can be used for specifying additional HTML attributes (for example a descriptive title="...").

Implementation edit

The template contains this phrase:

<span class="Hausawi" dir="rtl" {{#switch:{{lc:{{{2|ha}}}}}
 | ha = title="{{#ifeq:{{{2|}}}|ha|Urdu&#32;|}}Hausawi" style="font-family: 'Alkalami';
}} font-size: {{{size|110%}}}; font-style: normal; {{{style|}}}">{{{1|}}}</span>
  • The font size was fixed at 125% for better readability.
  • There is an option to add other languages and their specific fonts if they are in the same calligraphic family but require a different font, either due to stylistic preferences or due to having unique characters not found in "Alkalami".

Fonts information edit

Free fonts

Template intended to force following fonts if installed:

This font contain most Arabic character defined in Unicode (see Arabic script in Unicode), espeically letters that are uniquely used either as alternatives to write Arabic, or letters created for use in writing any of the Western African languages for whom this calligraphic style has been part of their literary tradition.