Cèṭa'an:Script/Hausawi/doc
Robâ
TemplateStyles' src
attribute must not be empty.
This is a documentation subpage for Cèṭa'an:Script/Hausawi. It contains usage information, categories and other content that is not part of the original cèṭa'an page. |
Usage
[beccè' sombher]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 descriptivetitle="..."
).
Implementation
[beccè' sombher]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
[beccè' sombher]- 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.