(Translated by https://www.hiragana.jp/)
Template:Transliteration: Difference between revisions - Wikipedia Jump to content

Template:Transliteration: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Dbachmann (talk | contribs)
No edit summary
Dbachmann (talk | contribs)
No edit summary
Line 107: Line 107:


[[Category:Multilingual support templates|{{PAGENAME}}]]
[[Category:Multilingual support templates|{{PAGENAME}}]]
[[Category:Esoteric templates]]
</noinclude>
</noinclude>

Revision as of 12:21, 15 April 2007

{{{2}}}

Usage

This template is intended to unify all "transliteration" templates (like {{IAST}}, {{ISOtranslit}}, {{ArabDIN}}. These templates are still usable, but they just transclude this one (e.g. {{IAST|saṃskṛtam}} is a shortcut for {{transl|sa|IAST|saṃskṛtam}}).

At present, this template is explicitly aware of individual css classes:

  • "latinx" (default)
  • "IAST" (from {{IAST}})
  • "Arabic Unicode" (from {{ArabDIN}})
  • "Semitic Unicode" (fropm {{semxlit}})

pending a smarter solution in MediaWiki:Common.css.

This template is kept separate from {{lang}} to address formatting issues (via css classes) and identification of transliteration schemes used. Ultimately, if these concerns are smartly addressed in the css file and/or in {{lang}}, using {{transl|xx|...}} should be equivalent to using {{lang|xx-Latn|...}}, viz. stating that the string is a Romanization by adding "-Latn" to the language code.


There are two ways of using this template: with or without specifying the transliteration scheme used:

  • two parameters: {{transl|ar|al-Khwarizmi}} means that "al-Khwarizmi" is a transliteration from the Arabic in a loose or unspecified scheme.
  • three parameters: {{transl|ar|DIN|al-Ḫuwārizmī}} / {{transl|ar|ALA|al-Khwārizmī}} the second parameter specifies the scheme used (DIN vs. ALA). {{transl|ar|ISO|...}} is equivalent to {{ISOtranslit|...|ar}}, and {{transl|ar|DIN|...}} to {{ArabDIN|...}}.

Examples

ISO:

See also