Template:Script/Nastaliq/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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
  • 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])
Examples
Code Result
{{Script/Nastaliq|براہوئی}}
براہوئی
To wrap multiple lines of text in this inline template, use <br> tags:
{{Script/Nastaliq|حاجی فیروزه، سالی یک روزه،<br>همه می‌دونن، منم می‌دونم،<br>عیدِ نوروزه، سالی یه روزه.}}
حاجی فیروزه، سالی یک روزه،
همه می‌دونن، منم می‌دونم،
عیدِ نوروزه، سالی یه روزه.

Template data

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Script/Nastaliq in articles based on its TemplateData.

TemplateData for Script/Nastaliq

Template intended to force Nastaʿlīq script fonts if installed. Note that this template does not load in webfonts.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to set in Nastaʿlīq

Example
زبانِ اُرْدُوئے مُعَلّٰی
Contentrequired
Language code2

The language code, to set a specific Nastaʿlīq font

Suggested values
bsk fa ota ps skr skr_rnoon ur
Default
ur
Stringoptional
Font sizesize

Sets the font size, this must be a valid CSS value

Default
110%
Stringoptional
CSS stylesstyle

Additional CSS styles to add. font-family, font-size and font-style are automatically set by the template

Example
color: green;
Stringoptional

See also

[edit source]