Difference between revisions of "Template:ISOtranslit"

From blackwiki
Jump to navigation Jump to search
imported>Dbachmann
imported>Dbachmann
Line 4: Line 4:
 
{{ #ifeq: {{{2}}} |el|843 Greek"|
 
{{ #ifeq: {{{2}}} |el|843 Greek"|
 
{{ #ifeq: {{{2}}} |ja|3602 Japanese"|  
 
{{ #ifeq: {{{2}}} |ja|3602 Japanese"|  
{{ #ifeq: {{{2}}} |zh|7098 Chinese"|
+
{{ #ifeq: {{{2}}} |pny|7098 Chinese"|
 
{{ #ifeq: {{{2}}} |ka|9984 Georgian"|
 
{{ #ifeq: {{{2}}} |ka|9984 Georgian"|
 
{{ #ifeq: {{{2}}} |hy|9985 Armenian"|
 
{{ #ifeq: {{{2}}} |hy|9985 Armenian"|
Line 24: Line 24:
 
<code><nowiki>{{ISOtranslit|ellēnikḗ|el}}</nowiki></code>: {{ISOtranslit|ellēnikḗ|el}}
 
<code><nowiki>{{ISOtranslit|ellēnikḗ|el}}</nowiki></code>: {{ISOtranslit|ellēnikḗ|el}}
  
<code><nowiki>{{ISOtranslit|hànyǔ|zh}}</nowiki></code>: {{ISOtranslit|hànyǔ|zh}}
+
<code><nowiki>{{ISOtranslit|hànyǔ|pny}}</nowiki></code>: {{ISOtranslit|hànyǔ|zh}}
  
 
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.
 
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.

Revision as of 08:48, 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ǔ|pny}}: 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}}