Difference between revisions of "Template:Lang-arc"
Jump to navigation
Jump to search
imported>Trappist the monk (use Module:Lang; see Template talk:Lang#converting to lua;) |
imported>Trappist the monk m (→top: weaken initial style; see Template_talk:Lang#-Latn_stuff; using AWB) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#invoke:lang| | + | <includeonly>{{#invoke:lang|lang_xx_normal |
|code=arc | |code=arc | ||
|rtl=yes | |rtl=yes | ||
| − | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 20:35, 23 December 2017
| This template uses Lua: |
Contents
Usage
| code | arc |
|---|---|
| rtl | yes |
| style: normal | |
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}} Script error: The function "lang_xx_normal" does not exist. {{lang-arc|מתיבתא|methivta|lit=Yeshiva|links=no}} Script error: The function "lang_xx_normal" does not exist. {{lang-arc|Aramaic|transliteration|lit=literal|links=no}} Script error: The function "lang_xx_normal" does not exist.
See also
- {{lang}}, and its opposite, {{Language with name/for}}
- {{rtl-lang|arc}}, for untransliterated Aramaic-language strings without preceding "Aramaic:" link.
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 |
| The above documentation is transcluded from Template:Lang-arc/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |