Difference between revisions of "Template:ISOtranslit"

From blackwiki
Jump to navigation Jump to search
imported>Dbachmann
(Yiddish)
imported>Dbachmann
Line 1: Line 1:
<span {{ #if {{{2|}}} | lang="{{{2}}}" |}} title="ISO
+
{{transl|{{{2}}}|ISO|{{{1}}}}}<noinclude>
{{#switch: {{{2}}}
 
|ba
 
|be
 
|bg
 
|uk
 
|ab
 
|mn
 
|kk
 
|ky
 
|tut
 
|bua
 
|sah
 
|xal
 
|ru = 9 Cyrillic"
 
|fa
 
|ur
 
|ku
 
|ps
 
|tg
 
|ug
 
|ar = 233 Arabic"
 
|yi
 
|he = 259 Hebrew"
 
|el = 843 Greek"
 
|ja = 3602 Japanese"
 
|pny
 
|zho
 
|chi
 
|zh = 7098 Chinese"
 
|kat
 
|ka = 9984 Georgian"
 
|arm
 
|hy = 9985 Armenian"
 
|tha
 
|th = 11940 Thai"
 
|kor
 
|ko = 11941 Korean"
 
|sa
 
|hi
 
|bn
 
|te
 
|mr
 
|gu
 
|kn
 
|ml
 
|ta = 15919 Indic" class="IAST Unicode"
 
| transliteration"
 
}} style="white-space:normal; text-decoration: none">{{{1}}}</span><noinclude>
 
  
 
Tag to mark text in an [[List of ISO transliterations|ISO transliteration]].
 
Tag to mark text in an [[List of ISO transliterations|ISO transliteration]].
 +
 +
transcludes {{tl|transl}} (see there), <code><nowiki>{{ISOtranslit|...|xx}}</nowiki></code> is equivalent to <code><nowiki>{{transl|xx|ISO|...}}</nowiki></code> 
  
 
==Usage==
 
==Usage==

Revision as of 11:16, 15 April 2007

Template:Transl

Tag to mark text in an ISO transliteration.

transcludes {{transl}} (see there), {{ISOtranslit|...|xx}} is equivalent to {{transl|xx|ISO|...}}

Usage

examples:

the second parameter (the language code) is optional; it sets the proper "lang" parameter in the span tag and, if recognized, the proper "title" parameter to identify the standard on mouseover.

See also

  • {{IAST}} for Sanskrit
  • {{ArabDIN}} for Arabic
  • {{translit-zh2}} for Chinese: {{ISOtranslit|hànyǔ|zh}} should be equivalent to {{translit-zh2|hànyǔ}} and {{lang|pny|hànyǔ}}
  • {{lang}}