সমললৈ যাওক

সাঁচ: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 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›}}.

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

<span class="script-hebrew" style="font-size:125%; font-family:'SBL Hebrew', David, Narkisim, 'Times New Roman', 'Ezra SIL SR', FrankRuehl, 'Microsoft Sans Serif', 'Lucida Grande'" 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.

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:125%; font-family:'SBL Hebrew', David, Narkisim, 'Times New Roman', 'Ezra SIL SR', FrankRuehl, 'Microsoft Sans Serif', 'Lucida Grande'" 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.