Template:Translit/Documentation: Difference between revisions

Jump to navigation Jump to search
Line 9: Line 9:
*<code>4</code> (optional): Meaning (applied as tooltip)
*<code>4</code> (optional): Meaning (applied as tooltip)
*<code>link</code>: Wikipedia article name (defaults to "{{{3}}} language")
*<code>link</code>: Wikipedia article name (defaults to "{{{3}}} language")
*<code>hidelabel</code>: Set to y or 1 or something else to hide the language name


For recommendations on what romanization scheme to use, see [[Guidelines:Translations]].
For recommendations on what romanization scheme to use, see [[Guidelines:Translations]].

Revision as of 17:41, 10 July 2024

Purpose

Similar to Template:JP but more generalized.

Usage

Parameters:

  • 1: Language name
  • 2: Original text
  • 3: Transliteration
  • 4 (optional): Meaning (applied as tooltip)
  • link: Wikipedia article name (defaults to "{{{3}}} language")
  • hidelabel: Set to y or 1 or something else to hide the language name

For recommendations on what romanization scheme to use, see Guidelines:Translations.

Examples

  • {{translit|Arabic|عفريت|ʿifrīt}}Lua error in Module:Translit at line 816: Language with code "Arabic" is not defined.
  • {{translit|Greek|Κέρβερος|Kérberos}}Lua error in Module:Translit at line 816: Language with code "Greek" is not defined.
  • {{translit|Hebrew‎|שָּׂטָן|śāṭān}}Lua error in Module:Translit at line 816: Language with code "Hebrew" is not defined.
  • {{translit|Sanskrit|मित्र|mitrá}}Lua error in Module:Translit at line 816: Language with code "Sanskrit" is not defined.