Difference between revisions of "Template:Lang-arc/sandbox"
imported>Trappist the monk |
imported>Trappist the monk |
||
| Line 1: | Line 1: | ||
| − | {{#invoke:lang| | + | {{#invoke:lang/sandbox|lang_xx_inherit |
| + | |code=arc | ||
| + | |rtl=yes | ||
| + | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:28, 6 January 2018
[undefined] error: {{lang-xx}}: no text (help)
| This is the template sandbox page for Template:Lang-arc (diff). See also the companion subpage for test cases. |
| 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.
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. |