This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
This template uses Lua: |
This template is used on approximately 17,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
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 OODA WIKI: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.
code | he |
---|---|
rtl | yes |
style: inherit |
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|כנסת|Knesset}} Lua error in Module:Unicode_data at line 15: attempt to call field 'length' (a nil value). {{Lang-he|פרת|Perat|lit=Euphrates|link=no}} Lua error in Module:Unicode_data at line 15: attempt to call field 'length' (a nil value). {{Lang-he|Hebrew|transliteration|lit=literal|link=no}} Lua error in Module:Unicode_data at line 15: attempt to call field 'length' (a nil value).
See also
- {{Lang}}, and its opposite, {{Language with name/for}}
- {{lang|he}}, for untransliterated Hebrew-language strings without preceding "Hebrew:" link.
- {{Lang-he-a}} for Hebrew audio
TemplateData for Lang-he
Insert Hebrew text. Indicates to readers the original form of a term or phrase in Hebrew.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The foreign (non-English) text to display. | String | required |
Display link | link | Set to no to disable the wikilink to the article's language.
| Boolean | optional |
Literal translation | lit | Also known as the direct translation; the word-by-word translation (ie. translating each word separately) without considering how the words are used together in the phrase or sentence | String | optional |
Transliteration | translit | A Latin alphabet respelling of Hebrew text | String | optional |