Template:Lang-he/doc: Difference between revisions

Content deleted Content added
→‎Examples: example updates
better target
 
(17 intermediate revisions by 11 users not shown)
Line 1:
{{Documentation subpage|[[:Category:Lang-x templates]]}}
{{High-useCOinS safe|8800+n}}
{{lua|Module:lang}}
{{High-use|8990}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{Redirect|Template:He|the pronoun-determining template|Template:They}}
 
== Usage ==
Template {{tlf|'''lang-he'''|nolink=yes}} indicates to readers the original form of a term or phrase in [[Hebrew language|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).
 
Template {{Tlf|'''Lang-he'''|nolink=yes}} indicates to readers the original form of a term or phrase in [[Hebrew language|Hebrew]].
The parameter {{Para|links|no}} prevents the language name from being linked.
 
Template {{tlf|'''lang-he'''|nolink=yes}} indicates to readers the original form of a term or phrase in [[Hebrew language|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 {{Para|linkslink|no}} prevents the language name from being linked.
 
The parameter {{Para|lit}} enables a literal translation to be given.
 
{{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}}
 
== Parameters ==
{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}
 
==Syntax==
:'''<nowiki>{{langLang-he</nowiki>'''
::'''|{{var|Hebrew text}}''' – using Hebrew. ''(mandatory)''
::'''|{{var|<nowiki>linkslink=value</nowiki>}}''' – valid values: '''yes''' to have the language name linked (default) and '''no''' to prevent the language name from being linked. '' (optional)''
::'''|{{var|<nowiki>lit=string</nowiki>}}''' – valid strings are English phrases of Hebrew. ''(optional)''
::'''|{{var|<nowiki>translit=string</nowiki>}}''' – valid strings are transliterations (with the [[Latin alphabetscript]]) of Hebrew text. ''(optional)''
:'''<nowiki>}}</nowiki>'''
 
Line 24 ⟶ 36:
! Result
|-
| {{tflTlf|langLang-he|אללהכנסת|AllahKnesset}}
| {{langLang-he|אללהכנסת|AllahKnesset}}
|-
| {{tflTlf|langLang-he|פרת|Perat|lit{{=}}Euphrates|linkslink{{=}}no}}
| {{langLang-he|פרת|Perat|lit=Euphrates|linkslink=no}}
|-
| {{tlfTlf|langLang-he|Hebrew|transliteration|lit{{=}}literal|linkslink{{=}}no}}
| {{langLang-he|Hebrew|transliteration|lit=literal|linkslink=no}}
|}
 
== See also ==
* {{Tl|langLang}}, and its opposite, {{Tl|Language with name/for}}
* {{tlpTlp|rtl-lang|he}}, for untransliterated Hebrew-language strings without preceding "[[Hebrew language|Hebrew]]:" link.
* {{Tl|link languageLang-he-a}} for Hebrew audio
 
{{TemplateDataHeader}}
Line 45 ⟶ 57:
"1": {
"label": "Text",
"description": "The foreign (non-English) text to display.",
"type": "string",
"required": true
},
"linkslink": {
"label": "Display link",
"description": "Set to no to disable the linkwikilink to the article's language.",
"type": "boolean",
"autovalue": "no"
},
"lit": {
"label": "Literal translation",
"description": "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",
"type": "string"
},
"translit": {
Line 67 ⟶ 82:
</templatedata>
 
<includeonly>{{sandbox other||
[[Category:Lang-x templates|he]]
[[Category:Afro-Asiatic multilingual support templates|{{PAGENAME}}]]
[[Category:Jews and Judaism templates]]
}}</includeonly>
<noinclude>[[Category:Documentation shared content templates]]</noinclude>