ढाँचा: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", "DejaVu Sans"' 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 [१].
- 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", "DejaVu Sans"' 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.