Template:Lang-he
File:Stop hand nuvola.svg | 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. |
File:Lua-Logo.svg | This template uses Lua: |
Warning | This template is used on 8,800+ 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[change]
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[change]
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
Syntax[change]
- {{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[change]
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] Error: {{Lang-xx}}: transliteration of latn script (help)
See also[change]
- {{lang}}, and its opposite, {{Language with name/for}}
- {{rtl-lang|he}}, for untransliterated Hebrew-language strings without preceding "Hebrew:" link.
- {{Lang-he-a}} for Hebrew audio
- {{Lang-he-n}} meant for Hebrew text with nikud
- {{link language}}
TemplateData for Lang-he
<templatedata> { "params": { "1": { "label": "Text", "description": "The foreign text to display.", "type": "string", "required": true }, "link": { "label": "Display link", "description": "Set to no to disable the link to the article's language.", "type": "boolean" }, "lit": { "label": "Literal translation" }, "translit": { "label": "Transliteration", "description": "A Latin alphabet respelling of Hebrew text", "type": "string" } }, "description": "Insert Hebrew text. Indicates to readers the original form of a term or phrase in Hebrew." } </templatedata>