Template:Lang-he/doc

From Wikispooks
Jump to navigation Jump to search

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

Examples

Code Result
אללה|Allah}} Hebrew: אללה‎, translit. Allah
פרת|Perat|lit=Euphrates|links=no}} Hebrew: פרת‎, translit. Perat, lit. 'Euphrates'‎
Hebrew|transliteration|lit=literal|links=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 parameter usage report for this template.

TemplateData for Lang-he

<templatedata> { "params": { "1": { "label": "Text", "description": "The foreign text to display.", "type": "string", "required": true }, "links": { "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>