• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Lang-ayn

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 28,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:
  • Module:lang

Usage

settings
code ayn
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|عمّون}} Arabic: عمّون
{{lang-ar|عمّون|ʻAmmūn}} Arabic: عمّون, romanized: ʻAmmūn
{{lang-ar|الصديق|Aṣ-Ṣiddīq|lit=The Truthful}} Arabic: الصديق, romanized: Aṣ-Ṣiddīq, lit. 'The Truthful'
{{lang-ar|عربى|ʿarabī|lit=Arabic|links=no}} Arabic: عربى, romanized: ʿarabī, lit. 'Arabic'
{{lang-ar|ARABIC|TRANSLITERATION|lit=LITERAL|links=no}} Arabic: ARABIC, lit. 'LITERAL'

See also

  • {{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-ayn

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

Template parameters

ParameterDescriptionTypeStatus
Text1

The foreign text to display.

Stringrequired
Display linklinks

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

Booleanoptional
Literal translationlit

no description

Unknownoptional
Transliterationtranslit

A Latin alphabet respelling of Arabic text

Stringoptional
The above documentation is transcluded from Template:Lang-ar/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Lang-ayn&oldid=21341"
Categories:
  • Lua-based templates
  • Templates using TemplateData
  • Lang-x templates
  • Afro-Asiatic multilingual support templates
Last edited on 26 January 2021, at 17:12

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 26 January 2021, at 17:12.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop