ढाँचा:Lang-ar/doc
This is a documentation subpage for ढाँचा:Lang-ar. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
This template is used on approximately ३२,००० 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. |
This template uses Lua: |
Usage
सम्पादनcode | ar |
---|---|
rtl | yes |
style: inherit |
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 script) of Arabic text. (optional)
- }}
Code Result {{lang-ar|عمّون}} अरबि: عمّون {{lang-ar|عمّون|ʻAmmūn}} अरबि: عمّون, romanized: ʻAmmūn {{lang-ar|الصديق|Aṣ-Ṣiddīq|lit=The Truthful}} अरबि: الصديق, romanized: Aṣ-Ṣiddīq, lit. 'The Truthful' {{lang-ar|عربى|ʿarabī|lit=Arabic|links=no}} अरबि: عربى, romanized: ʿarabī, सब्द. 'Arabic' {{lang-ar|ARABIC|TRANSLITERATION|lit=LITERAL|links=no}} अरबि: ARABIC, सब्द. 'LITERAL'
See also
सम्पादन- {{lang}}, and its opposite, {{Language with name/for}}
- {{rtl-lang|ar}}, for untransliterated Arabic-language strings without preceding "Arabic:" link.
- {{script|Arab|...}} for Arabic script without specifying a language.
- {{link language}}
- {{ar icon}} for external links in Arabic
- {{fa icon}} for external links in Persian (Farsi)
- {{ur icon}} for external links in Urdu
- {{Lang-ar/sandbox2}} (second sandbox)
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Lang-ar
Insert Arabic text. Indicates to readers the original form of a term or phrase in Arabic.
मापदण्ड | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Text | 1 | The foreign text to display. | String | आवश्यक |
Display link | links | Set to no to disable the link to the article's language. | बुलियन | वैकल्पिक |
Literal translation | lit | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Transliteration | translit | A Latin alphabet respelling of Arabic text | String | वैकल्पिक |