Difference between revisions of "Template:ISOtranslit"

From blackwiki
Jump to navigation Jump to search
imported>Dbachmann
imported>Dbachmann
Line 1: Line 1:
<span {{ #if {{{2|}}} | lang="{{{2}}}" |}} title="ISO {{ #ifeq: {{{2}}} |ru|9 Cyrillic"|
+
<span {{ #if {{{2|}}} | lang="{{{2}}}" |}} title="ISO {{
{{ #ifeq: {{{2}}} |ar|233 Arabic"|
+
{{#switch: {{{2}}}
{{ #ifeq: {{{2}}} |he|259 Hebrew"|
+
|ru = 9 Cyrillic"
{{ #ifeq: {{{2}}} |el|843 Greek"|
+
|ar = 233 Arabic"
{{ #ifeq: {{{2}}} |ja|3602 Japanese"|
+
|he = 259 Hebrew"
{{ #ifeq: {{{2}}} |zh|7098 Chinese"|
+
|el = 843 Greek"
{{ #ifeq: {{{2}}} |ka|9984 Georgian"|
+
|ja = 3602 Japanese"
{{ #ifeq: {{{2}}} |hy|9985 Armenian"|
+
|zh = 7098 Chinese"
{{ #ifeq: {{{2}}} |th|11940 Thai"|
+
|ka = 9984 Georgian"
{{ #ifeq: {{{2}}} |ko|11941 Korean"|
+
|hy = 9985 Armenian"
{{ #ifeq: {{{2}}} |ta|15919 Indic" class="IAST Unicode"| transliteration" }} }} }} }} }} }} }} }} }} }} }}  style="font-family: 'Arial Unicode MS', 'GNU Unifont', 'Lucida Sans Unicode'; white-space:normal; text-decoration: none">{{{1}}}</span><noinclude>
+
|th = 11940 Thai"
 +
|ko = 11941 Korean"|
 +
|ta = 15919 Indic" class="IAST Unicode"
 +
| transliteration"  
 +
}} style="font-family: 'Arial Unicode MS', 'GNU Unifont', 'Lucida Sans Unicode'; 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]].

Revision as of 18:24, 7 April 2007

{{{1}}}

Tag to mark text in an ISO transliteration.

Usage

examples:

{{ISOtranslit|russkiy|ru}}: russkiy

{{ISOtranslit|ʿarabī|ar}}: ʿarabī

{{ISOtranslit|tamiḻ|ta}}: tamiḻ

{{ISOtranslit|ellēnikḗ|el}}: ellēnikḗ

{{ISOtranslit|hànyǔ|zh}}: hànyǔ

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}}