Jump to content

Template:Script/Nastaliq

From Elite Dangerous Wiki

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Script/Nastaliq/doc" to edit its documentation if it is available. (How does this work?)

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])

Usage

Examples
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.

Template parameters[Edit template data]

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