Difference between revisions of "Template:Lang-arc/doc"
Jump to navigation
Jump to search
imported>Trappist the monk m (lua doc;) |
|||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| − | + | {{#if:{{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}}|{{lua|Module:lang}}}} | |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
== Usage == | == Usage == | ||
| + | {{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}} | ||
Template {{tlf|'''lang-arc'''|nolink=yes}} indicates to readers the original form of a term or phrase in [[Aramaic language|Aramaic]]. 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). | Template {{tlf|'''lang-arc'''|nolink=yes}} indicates to readers the original form of a term or phrase in [[Aramaic language|Aramaic]]. 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). | ||
Revision as of 19:54, 16 November 2017
| This is a documentation subpage for Template:Lang-arc. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Contents
Usage
| code | arc |
|---|---|
| rtl | yes |
| style: inherit | |
Template {{lang-arc}} indicates to readers the original form of a term or phrase in Aramaic. 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-arc
- |Aramaic text – using Aramaic. (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 Aramaic. (optional)
- |translit=string – valid strings are transliterations (with the Latin script) of Aramaic text. (optional)
- }}
Examples
Code Result {{lang-arc|ܢܨܪܬ|Naṣrath}} Aramaic: ܢܨܪܬ, romanized: Naṣrath {{lang-arc|מתיבתא|methivta|lit=Yeshiva|links=no}} Aramaic: מתיבתא, romanized: methivta, lit. 'Yeshiva' {{lang-arc|Aramaic|transliteration|lit=literal|links=no}} Aramaic: Aramaic, lit. 'literal'
See also
- {{lang}}, and its opposite, {{Language with name/for}}
- {{rtl-lang|arc}}, for untransliterated Aramaic-language strings without preceding "Aramaic:" link.
- {{link language}}
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-arc
Insert Aramaic text. Indicates to readers the original form of a term or phrase in Aramaic.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The foreign text to display. | String | required |
| Display link | links | Set to no to disable the link to the article's language. | Boolean | optional |
| Literal translation | lit | no description | Unknown | optional |
| Transliteration | translit | A Latin alphabet respelling of Aramaic text | String | optional |