Difference between revisions of "Template:Lang-arc/doc"
Jump to navigation
Jump to search
imported>Egy writer m (Undid revision 786217224 by 85.181.102.61 (talk)) |
imported>Trappist the monk (Undid revision 813344148 by Egy writer (talk) script is correct;) |
||
| Line 16: | Line 16: | ||
::'''|{{var|<nowiki>links=value</nowiki>}}''' – valid values: '''yes''' to have the language name linked (default) and '''no''' to prevent the language name from being linked. '' (optional)'' | ::'''|{{var|<nowiki>links=value</nowiki>}}''' – valid values: '''yes''' to have the language name linked (default) and '''no''' to prevent the language name from being linked. '' (optional)'' | ||
::'''|{{var|<nowiki>lit=string</nowiki>}}''' – valid strings are English phrases of Aramaic. ''(optional)'' | ::'''|{{var|<nowiki>lit=string</nowiki>}}''' – valid strings are English phrases of Aramaic. ''(optional)'' | ||
| − | ::'''|{{var|<nowiki>translit=string</nowiki>}}''' – valid strings are transliterations (with the [[Latin | + | ::'''|{{var|<nowiki>translit=string</nowiki>}}''' – valid strings are transliterations (with the [[Latin script]]) of Aramaic text. ''(optional)'' |
:'''<nowiki>}}</nowiki>''' | :'''<nowiki>}}</nowiki>''' | ||
Revision as of 10:44, 3 December 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 |