Template:Script/Nastaliq
Appearance
| This template is used on approximately 15,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template intended to force Nastaʿlīq script fonts if installed:
- "Urdu Typesetting" -- Proprietary Microsoft font that is available on Windows 8 and Windows 8.1.
- IranNastaliq
- Archived on the Wayback Machine, yjc, parsilatex (rest of the links has become outdated and broken)
- Nafees Nastaleeq [1] > [2]
- Pak Nastaleeq [3]
- Noto Nastaliq Urdu [4] [5]
- Awami Nastaliq [6] (currently works only on Mozilla Firefox 46+, see the system requirements: [7])
Usage
| Code | Result |
|---|---|
{{Script/Nastaliq|براہوئی}}
|
براہوئی |
To wrap multiple lines of text in this inline template, use <br> tags:
| |
{{Script/Nastaliq|حاجی فیروزه، سالی یک روزه،<br>همه میدونن، منم میدونم،<br>عیدِ نوروزه، سالی یه روزه.}}
|
حاجی فیروزه، سالی یک روزه، همه میدونن، منم میدونم، عیدِ نوروزه، سالی یه روزه. |
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Script in articles based on its TemplateData.
TemplateData for Script
Template intended to force Nastaʿlīq script fonts if installed. Note that this template does not load in webfonts.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text to set in Nastaʿlīq
| Content | required |
| Language code | 2 | The language code, to set a specific Nastaʿlīq font
| String | optional |
| Font size | size | Sets the font size, this must be a valid CSS value
| String | optional |
| CSS styles | style | Additional CSS styles to add. font-family, font-size and font-style are automatically set by the template
| String | optional |
See also
- {{script}}