فرما:عالمی نَستالیٖق/دَستاویز
(فرما:عالمی نَستالیٖق/doc پؠٹھٕ رُجوع مُکرَر)
Note: This is my first attempt at a template, if I've made any errors, please comment on my talk page or ping me {{ping|irtapil}} on the talkpage for this template. Irtapil (talk) 10:47, 30 March 2020 (UTC) |
uninastaliq = "universal Nastaliq"
Usage
اؠڈِٹThis template displays Perso-Arabic text in the Nastaliq style, which is used for most documents written in Urdu. The style is also occasionally used for Persian poetry and some dialects of Punjabi.
This template is based on the {{nastaliq|}} template Template:Script/Nastaliq. I made a new one instead of editing the original to avoid breaking existing uses of the original.
Differences compared to {{nastaliq|}} template:
- uninastaliq produces the same results for all languages, whereas {{nastaliq|}} prioritises fonts differently depending on the {{lang|xx|}} template.
- uninastaliq leads to fewer problems with Wikipedia:Template_limits#Post-expand_include_size because is it shorter than the {{nastaliq|}} template, mainly by removing the language-dependent font ranking.
- uninastaliq puts Noto Nastaliq Urdu first, whereas the {{nastaliq|}} version puts Urdu Typesetting first, which doesn't cope with tatweel and has some problems with other characters as well.
font families:
- 'Noto Nastaliq Urdu'
- 'Urdu Typesetting'
- 'Jameel Noori Nastaleeq'
- 'Noto Nastaliq Urdu Draft'
- 'Hussaini Nastaleeq'
- 'AlQalam Taj Nastaleeq'
- 'IranNastaliq'
- 'Awami Nastaliq'
- 'Awami Nastaliq Beta3'
- 'Awami Nastaliq Beta2'
- 'Awami Nastaliq Beta1'
- 'Nafees Nastaleeq'
- 'Nafees Nastaleeq v1.01'
- 'Pak Nastaleeq'
- 'PDMS_Jauhar'
- 'Alvi Lahori Nastaleeq'
- 'Urdu Emad Nastaleeq'
- 'Urdu Emad Nastaleeq'
The font families should be ranked by character availability. Feel free to edit this template to add fonts or change the order, but make sure the first two stay first, and please explain your edits on the talk page.