সাঁচ:Script/Hebrew
{{{1}}}
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: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:
- The font-family definitions fix broken font display in Internet Explorer and in Mac OS X Firefox [1].
- 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: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.
The above documentation is transcluded from সাঁচ:Script/Hebrew/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |