Difference between revisions of "Template:Lang-he/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sawol
imported>Zyxw
(allow template to round and format usage count)
Line 2: Line 2:
 
{{COinS safe|n}}
 
{{COinS safe|n}}
 
{{lua|Module:lang}}
 
{{lua|Module:lang}}
{{High-use|8800+}}
+
{{High-use|8704}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  

Revision as of 01:40, 2 November 2018

Usage

settings
code he
rtl yes
style: inherit

Template {{lang-he}} indicates to readers the original form of a term or phrase in Hebrew. 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 |link=no prevents the language name from being linked.

The parameter |lit= enables a literal translation to be given.

Parameters

{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}

Syntax

{{lang-he
|Hebrew text – using Hebrew. (mandatory)
|link=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 Hebrew. (optional)
|translit=string – valid strings are transliterations (with the Latin script) of Hebrew text. (optional)
}}

Examples

Code Result
{{lang-he|אללה|Allah}} Hebrew: אללה‎, romanized: Allah
{{lang-he|פרת|Perat|lit=Euphrates|link=no}} Hebrew: פרת‎, romanized: Perat, lit. 'Euphrates'
{{lang-he|Hebrew|transliteration|lit=literal|link=no}} Hebrew: Hebrew‎, lit. 'literal'

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-he

Insert Hebrew text. Indicates to readers the original form of a term or phrase in Hebrew.

Template parameters

ParameterDescriptionTypeStatus
Text1

The foreign text to display.

Stringrequired
Display linklink

Set to no to disable the link to the article's language.

Booleanoptional
Literal translationlit

no description

Unknownoptional
Transliterationtranslit

A Latin alphabet respelling of Hebrew text

Stringoptional