Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Under the hood  





3 Examples  





4 How to override fonts in user's preferences  





5 Template data  














Template:Script/Hebrew






Alemannisch
العربية

تۆرکجه
Basa Bali

 / Bân-lâm-gú
Беларуская
Беларуская (тарашкевіца)
Boarisch
Буряад
Català
Dansk
Deutsch
Ελληνικά
Español
Euskara
فارسی
Galego
/Hak-kâ-ngî

Հայերեն
ि
Hrvatski
Ilokano
Bahasa Indonesia
Jawa

Қазақша
Kurdî
Ladino
Latina
Magyar
ि
Македонски

Bahasa Melayu
 / Mìng-dĕ̤ng-nḡ



Нохчийн
Norsk bokmål
Norsk nynorsk
ି
Oʻzbekcha / ўзбекча
پښتو
Português
Română
Русский
Scots
Shqip
Simple English
سنڌي
Slovenščina
کوردی
Српски / srpski
Tagalog
 

Türkçe
Українська
Tiếng Vit

Yorùbá


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

< Template:Script

{{{1}}}

Usage

This template marks a string as Hebrew script. It is transcluded by {{Script}}.

This template only marks a string as Hebrew script, not as Hebrew language. Therefore, it is not appropriate for Hebrew text, which should be marked instead like this: {{Lang-he|‹Hebrew language string›}}. For entire paragraphs in Hebrew, please use {{Rtl-para|he|‹Hebrew language string›}}.

Under the hood

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

<templatestyles src="Script/styles_hebrew.css" /><span class="script-hebrew" style="font-size: {{{size|115%}}}; {{{style|}}}" {{{attributes|}}} {{#ifeq: {{{no_rtl_mark|+}}} | {{{no_rtl_mark|-}}}||dir="rtl"}}>{{{1}}}</span>{{#ifeq: {{{no_rtl_mark|+}}} | {{{no_rtl_mark|-}}}||&lrm;}}

This template has two goals:

  1. The font-family definitions provided by Template:Script/styles_hebrew.css, which will bring an appropriate font to render Hebrew texts for better rendering, especially for texts with nikud.
  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.

Please mark all Hebrew script with either {{Lang-he}} if the text is in Hebrew, or with {{Script/Hebrew}} if it isn't. This will facilitate consistent formatting of Hebrew text and script.

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: 115%;" dir="rtl">א</span>

Which appears in your browser as:

א

Without {{Script}}:

א

How to override fonts in user's preferences

Any user can use another font with a different size by writing the following on their custom CSS. (see Help:User style)

An example making the font size 137%, and choosing SBL Hebrew to be the main font with 5 additional fonts:

.script-hebrew {
    font-size: 137% !important;
    font-family: "SBL Hebrew", David, Narkisim,
    "Times New Roman", FrankRuehl, Gisha, sans-serif !important; 
}

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Script in articles based on its TemplateData.

TemplateData for Script

Template data

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

no description

Unknownoptional

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Script/Hebrew&oldid=972336287"

Categories: 
Templates using TemplateStyles
Afro-Asiatic multilingual support templates
Jews and Judaism templates
Scriptfont templates
Hidden categories: 
Wikipedia template-protected templates
Templates using TemplateData
 



This page was last edited on 11 August 2020, at 14:04 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki