Template:Lang-Latn/doc

From blackwiki
< Template:Lang-Latn
Revision as of 10:11, 27 December 2012 by imported>Hyacinth (→‎See also: * {{Tl|Lang-la}}, template for Latin terms)
Jump to navigation Jump to search

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