Template:Script/Hebrew/doc

This template marks a string as Hebrew script. It is transcluded by {{script}} and by {{lang-he-n}}. Do not include it d

Template:Script/Hebrew/doc

Usage

This template marks a string as Hebrew script. It is transcluded by {{script}} and by {{lang-he-n}}. Do not include it directly, but instead use: {{script|Hebr|‹Hebrew script string›}}.

This template only marks a string as Hebrew script, not as Hebrew language. Therefore, it is not appropriate for actual words in Hebrew. Hebrew words are marked instead like this: {{lang|he|‹Hebrew language string›}}. For entire paragraphs in Hebrew, use {{rtl-para|he|‹Hebrew language string›}}.

Under the hood

This defines font-families, font-size and a CSS class:

<span class="script-hebrew" style="font-size: {{{size|115%}}}; font-family: 'Ezra SIL', 'Ezra SIL SR', 'Keter Aram Tsova', 'Taamey Ashkenaz', 'Taamey David CLM', 'Taamey Frank CLM', 'Frenk Ruehl CLM', 'Keter YG', 'Shofar', 'David CLM', 'Hadasim CLM', 'Simple CLM', 'Nachlieli', 'SBL BibLit', 'SBL Hebrew', Cardo, Alef, 'Noto Serif Hebrew', 'Noto Sans Hebrew', 'David Libre', David, 'Times New Roman', Gisha, Arial, FreeSerif, FreeSans; {{{style|}}}" dir="rtl">{{{1}}}</span>

This template has two goals:

  1. The font-family definitions fix broken font display in Internet Explorer and in Mac OS X Firefox [1].
  2. The CSS class allows Wikipedia users to specify their own style for Hebrew script text by including a custom font declaration for .script-hebrew in their user CSS, see Help:User style.

Examples

Placing a Hebrew sign in {{script}}:

{{script|Hebr|א}}

The result will be a span with a class attribute, like this:

<span class="script-hebrew" style="font-size: {{{size|115%}}}; font-family: 'Ezra SIL', 'Ezra SIL SR', 'Keter Aram Tsova', 'Taamey Ashkenaz', 'Taamey David CLM', 'Taamey Frank CLM', 'Frenk Ruehl CLM', 'Keter YG', 'Shofar', 'David CLM', 'Hadasim CLM', 'Simple CLM', 'Nachlieli', 'SBL BibLit', 'SBL Hebrew', Cardo, Alef, 'Noto Serif Hebrew', 'Noto Sans Hebrew', 'David Libre', David, 'Times New Roman', Gisha, Arial, FreeSerif, FreeSans; {{{style|}}}" dir="rtl">א</span>

Which appears in your browser as:

א

Without {{script}}:

א

Please mark all Hebrew text with either {{script|Hebr}} or {{lang|he}}. This will allow users to format all examples of Hebrew text consistently, with their choice of fonts, colours, etc.


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.