Template:Lang-ar/doc
Aspetto
Chësta ie na plata de documentazion per Template:Lang-ar. Tlo abines nfurmazions sun co adurvé categories y auter contenuto che ne ie nia pert dl template uriginel template page. |
This template is used on approximately 37 000 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
[muda l codesc]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
[muda l codesc]- {{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|عمّون}} arab: عمّون {{lang-ar|عمّون|ʻAmmūn}} arab: عمّون, romanisà: ʻAmmūn {{lang-ar|الصديق|Aṣ-Ṣiddīq|lit=The Truthful}} arab: الصديق, romanisà: Aṣ-Ṣiddīq, let. 'The Truthful' {{lang-ar|عربى|ʿarabī|lit=Arabic|links=no}} arab: عربى, romanisà: ʿarabī, let. 'Arabic' {{lang-ar|ARABIC|TRANSLITERATION|lit=LITERAL|links=no}} arab: ARABIC, let. 'LITERAL'
See also
[muda l codesc]- {{lang}}, and its opposite, {{Language with name/for}}
- {{lang|ar}}, for untransliterated Arabic-language strings without preceding "Arabic:" link.
- {{script|Arab|...}} for Arabic script without specifying a language.
- {{Lang-ar/sandbox2}} (second sandbox)
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Lang-ar
Insert Arabic text. Indicates to readers the original form of a term or phrase in Arabic.
Parametro | Descrizione | Tipo | Stato | |
---|---|---|---|---|
Text | 1 | The foreign text to display. | Stringa | obbligatorio |
Display link | links | Set to no to disable the link to the article's language. | Booleano | facoltativo |
Literal translation | lit | nessuna descrizione | Sconosciuto | facoltativo |
Transliteration | translit | A Latin alphabet respelling of Arabic text | Stringa | facoltativo |