Template:Arabic Script
{{{1}}}
A Template to render Arabic-based scripts and ensure that Arabic diacritics appear properly.
It can also align text or paragraph that flows right-to-left
By default, the font size is 125% for better readability.
Usage
[edit source]Basic Code format:
{{Arabic Script|Arabic Text}}
Advance Code format:
{{Arabic Script|Arabic Text|size=?%|tar=y|style=?|attributes=?}}
Example
[edit source]{{Arabic Script|بِسْمِ ٱللَّهِ}}
Output: بِسْمِ ٱللَّهِ
{{Arabic Script|'''بِسْمِ ٱللَّهِ'''}}
Output: بِسْمِ ٱللَّهِ
Example with optional parameters
[edit source]{{Arabic Script|بِسْمِ ٱللَّهِ|size=150%}}
Output: بِسْمِ ٱللَّهِ
{{Arabic Script|بِسْمِ ٱللَّهِ|tar=y}}
Output:Text align to rightبِسْمِ ٱللَّهِ
{{Arabic Script|بِسْمِ ٱللَّهِ|style=color:green}}
Output: بِسْمِ ٱللَّهِ
{{Arabic Script|بِسْمِ ٱللَّهِ|attributes=title="Bismi Allahi arrahmani arraheem"}}
Output: بِسْمِ ٱللَّهِ (Hover on it to see effect)
TemplateData
[edit source]TemplateData for Arabic Script
A Template to render Arabic-based scripts and ensure that Arabic diacritics appear properly. This is ''Arabic Script'' Template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | Write text
| String | required |
Font Size (Optional) | size | Write font size with units like %, px or em
| String | suggested |
Text align right (Optional) | tar | It align text or paragraph that flows right-to-left. To align, type ' y '.
| String | suggested |
Style (Optional) | style | To specify additional CSS formattings (e.g. style=color:green)
| String | suggested |
Attributes (Optional) | attributes | It used for specifying additional HTML attributes. (e.g. attributes=title="Al-Fatiha")
| String | suggested |