Permanently protected template

Template:Lang-ar

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

Arabic: {{{1}}}‎, translit. {{{translit}}}, lit. '{{{lit}}}'‎

Template documentation[view] [edit] [history] [purge]

Usage

Template {{lang-ar}} indicates to readers the original form of a term or phrase in Arabic. The term or phrase is the only mandatory parameter. The text is formatted according to recommendations in Wikipedia:Manual of Style/Text formatting#Foreign terms (italics for Latin-script languages, regular for others).

The parameter |links=no prevents the language name from being linked.

The parameter |lit= enables a literal translation to be given.

Syntax

{{lang-ar
|Arabic text – using Arabic. (mandatory)
|links=value – valid values: yes to have the language name linked (default) and no to prevent the language name from being linked. (optional)
|lit=string – valid strings are English phrases of Arabic. (optional)
|translit=string – valid strings are transliterations (with the Latin alphabet) of Arabic text. (optional)
}}

Examples

Code Result
{{lang-ar|عمّون|ʻAmmūn}} Arabic: عمّون‎, translit. ʻAmmūn
{{lang-ar|الصديق|Aṣ-Ṣaddīq|lit=The Truthful}} Arabic: الصديق‎, translit. Aṣ-Ṣaddīq
{{lang-ar|Arabic|transliteration|lit=literal|links=no}} Arabic: Arabic‎, translit. transliteration, lit. 'literal'‎

See also

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Lang-ar

Insert Arabic text. Indicates to readers the original form of a term or phrase in Arabic.

Template parameters

Parameter Description Type Status
Text 1

The foreign text to display.

Default
empty
Example
empty
Auto value
empty
String required
Display link links

Set to no to disable the link to the article's language.

Default
empty
Example
empty
Auto value
empty
Boolean optional
Literal translation lit

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Transliteration translit

A Latin alphabet respelling of Arabic text

Default
empty
Example
empty
Auto value
empty
String optional