فرما:عالمی نَستالیٖق/دَستاویز

وِکیٖپیٖڈیا پؠٹھٕ، اَکھ آزاد اِنسایکلوپیٖڈیا
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:

  1. 'Noto Nastaliq Urdu'
  2. 'Urdu Typesetting'
  3. 'Jameel Noori Nastaleeq'
  4. 'Noto Nastaliq Urdu Draft'
  5. 'Hussaini Nastaleeq'
  6. 'AlQalam Taj Nastaleeq'
  7. 'IranNastaliq'
  8. 'Awami Nastaliq'
  9. 'Awami Nastaliq Beta3'
  10. 'Awami Nastaliq Beta2'
  11. 'Awami Nastaliq Beta1'
  12. 'Nafees Nastaleeq'
  13. 'Nafees Nastaleeq v1.01'
  14. 'Pak Nastaleeq'
  15. 'PDMS_Jauhar'
  16. 'Alvi Lahori Nastaleeq'
  17. 'Urdu Emad Nastaleeq'
  18. '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.