Difference between revisions of "Template:Hebrew audio"

From blackwiki
Jump to navigation Jump to search
imported>Timothy Gu
(Do not use serif font for "(help * info)")
imported>Timothy Gu
m (Fix space)
Line 1: Line 1:
{{#if:{{{link|}}}|[[Hebrew language|Hebrew]]: }}{{Audio|{{{2}}}|{{#if:{{{1|}}}|<span dir="ltr" style='font-family:"SBL Hebrew", david, narkisim, "Microsoft Sans Serif"; font-size:115%;' lang="he" xml:lang="he">{{{1}}}</span>|}}}}<noinclude>
+
{{#if:{{{link|}}}|[[Hebrew language|Hebrew]]:&nbsp;}}{{Audio|{{{2}}}|<span dir="ltr" style='font-family:"SBL Hebrew", david, narkisim, "Microsoft Sans Serif"; font-size:115%;' lang="he" xml:lang="he">{{{1}}}</span>}}<noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
  
Line 12: Line 12:
 
{{lang-he-a|עברית|SoundFile.ogg}}
 
{{lang-he-a|עברית|SoundFile.ogg}}
 
</nowiki></code>
 
</nowiki></code>
 +
{{lang-he-a|עברית|SoundFile.ogg}}
  
 
<code><nowiki>
 
<code><nowiki>
 
{{lang-he-a|עברית|SoundFile.ogg|link=yes}}
 
{{lang-he-a|עברית|SoundFile.ogg|link=yes}}
 
</nowiki></code>
 
</nowiki></code>
 +
{{lang-he-a|עברית|SoundFile.ogg|link=yes}}
  
 
[[Category:Afro-Asiatic multilingual support templates|{{PAGENAME}}]]
 
[[Category:Afro-Asiatic multilingual support templates|{{PAGENAME}}]]
 
[[Category:Jews and Judaism templates]]
 
[[Category:Jews and Judaism templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:31, 19 March 2015

Audio file "{{{2}}}" not found

This template is meant for Hebrew text with nikud and audio - basically it's a bigger and serif font (although those who don't have Hebrew fonts will see Microsoft Sans Serif). The second parameter allows you to link to an audio file. Use the link parameter to add [[Hebrew language|Hebrew]]: to the start.

It is otherwise identical to {{Hebrew}}.

Usage

Examples:

{{lang-he-a|עברית|SoundFile.ogg}} Audio file "SoundFile.ogg" not found

{{lang-he-a|עברית|SoundFile.ogg|link=yes}} HebrewAudio file "SoundFile.ogg" not found