Template:Script/Hausawi
Appearance
{{{1}}}
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:Script/Hausawi/doc" to edit its documentation if it is available. (How does this work?) |
Usage
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
styleparameter can be used to override the generated style (for example another font size) or to specify additional CSS formattings (e.g. color). - The optional
attributesparameter can be used for specifying additional HTML attributes (for example a descriptivetitle="...").
Implementation
The template contains this phrase:
<span class="Hausawi" dir="rtl" {{#switch:{{lc:{{{2|ha}}}}}
| ha = title="{{#ifeq:{{{2|}}}|ha|Urdu |}}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
- Free fonts
Template intended to force following fonts if installed:
This font contain most Arabic character defined in Unicode (see Arabic script in Unicode), especially 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.