Difference between revisions of "Template:Lang-arc"

From blackwiki
Jump to navigation Jump to search
imported>Andy M. Wang
(sync with sandbox)
imported>Trappist the monk
Line 1: Line 1:
{{Language with name and transliteration|arc|Aramaic|{{{1}}}|translit={{{translit<includeonly>|{{{2|}}}</includeonly>}}}|lit={{{lit<includeonly>|</includeonly>}}}|links={{{links<includeonly>|</includeonly>yes}}}|rtl=yes}}&lrm;<noinclude>
+
<includeonly>{{#invoke:lang|lang_xx
 +
|code=arc
 +
|rtl=yes
 +
|italic=no
 +
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:44, 13 November 2017

50px Template documentation[view] [edit] [history] [purge]

Usage

Lua error in Module:Lang/documentor_tool at line 43: invalid value (nil) at index 3 in table for 'concat'. 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" does not exist.
{{lang-arc|מתיבתא|methivta|lit=Yeshiva|links=no}} Script error: The function "lang_xx" does not exist.
{{lang-arc|Aramaic|transliteration|lit=literal|links=no}} Script error: The function "lang_xx" does not exist.

See also

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.

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 Aramaic text

Stringoptional