Difference between revisions of "Template:Lang-Latn/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
(→‎See also: * {{Tl|Lang-la}})
imported>Hyacinth
(→‎See also: * {{Tl|Lang-la}}, template for Latin terms)
Line 23: Line 23:
  
 
==See also==
 
==See also==
* {{Tl|Lang-la}}
+
* {{Tl|Lang-la}}, template for Latin terms
 
* {{Tl|Lang}}
 
* {{Tl|Lang}}
 
* {{tl|Language with name/for}}, the opposite
 
* {{tl|Language with name/for}}, the opposite

Revision as of 10:11, 27 December 2012

Usage

{{Lang-Latn/doc}} is a template used to indicate to readers that the previous term or phrase is translated from a non-English or foreign language. It should generally be placed after the English translation of the foreign term or phrase, and contain the foreign term or phrase.

This template takes two parameters:

  • the first parameter is an ISO 639 language code
  • the second parameter is the text to be marked

The output is the text marked as written in the said language with the Latin alphabet, and italicized.

Example

Edit

  • {{Lang-Latn|A|B}}
  • {{Lang-Latn|he|Shalom}}
  • {{Lang-Latn|he|[[Shalom]]}}

Resulting text

  • [B] error: {{lang}}: unrecognized language tag: A (help)
  • Shalom
  • Shalom

See also