Permanently protected template

Template:Lang-he

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

Usage

settings
code he
rtl yes
italic no

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

lang-xx supported parameters
parameter definition yields to alias
text non-English text {{{1}}}
translit Latin script transliteration of text {{{2}}}
translit-std standard used for the transliteration of translit; accepted values are: ISO, DIN, IAST, ALA, ALA-LC
translit-script transliteration standard's script identifier
translation literal English translation of text lit, {{{3}}}
link yes (default) links language name and static text associated with translit and translation; accepted values are: no, yes links
code IETF language tag for text; set by the template, overriding the template setting is discouraged
script IETF language script subtag; sometimes set by the template when the language of text uses more than one writing system; always four alpha characters; Latn forces italic rendering unless overridden by italic; overrides rtl italic
region IETF language region subtag
variant IETF language variant subtag
rtl yes indicates that the writing system used for text is right-to-left; accepted values are: no (default), yes script
italic yes (default) renders text in italic font; overrides script; accepted values are: no, yes
size specifies size of text rendering; use value suitable for use with the CSS font-size property
nocat yes inhibits automatic categorization; accepted values are: no (default), yes

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: אללה‎, translit. Allah
{{lang-he|פרת|Perat|lit=Euphrates|link=no}} Hebrew: פרת‎, translit. Perat, lit. 'Euphrates'
{{lang-he|Hebrew|transliteration|lit=literal|link=no}} Hebrew: Hebrew‎, translit. transliteration, lit. 'literal'

See also

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error 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

Parameter Description Type Status
Text 1

The foreign text to display.

Default
empty
Example
empty
Auto value
empty
String required
Display link link

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

Default
empty
Example
empty
Auto value
empty
Boolean optional
Literal translation lit

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Transliteration translit

A Latin alphabet respelling of Hebrew text

Default
empty
Example
empty
Auto value
empty
String optional