Jump to content

ទំព័រគំរូ:languageshift/doc

ពីWiktionary

This template is used to help automatic categorization at language categories and subcategories. It should never be called directly

This template should be added to the code of other templates. It returns a language name followed by "language", if desired.

Parameters

[កែប្រែ]

This template uses only one unnamed parameter to call the language name.

{{{1}}} : Language code. See Category:Language templates.
{{{nolangname}}} : Should be blank or omitted. Otherwise, the template does not return the language name.
  • {{languageshift|en}} returns ភាសាScript error: The function "lookup_language" does not exist..
  • {{languageshift|ko}} returns ភាសាScript error: The function "lookup_language" does not exist..
  • {{languageshift|grc}} returns ភាសាScript error: The function "lookup_language" does not exist..
  • {{languageshift|ase}} returns ភាសា (and not ភាសាសញ្ញាអាមេរិក language).
  • {{languageshift|dse}} returns ភាសា (and not ភាសាសញ្ញាដាច់ language).

Additionally:

  • {{languageshift|en|nolangname=1}} returns ភាសា.
  • {{languageshift|ko|nolangname=1}} returns ភាសា.
  • {{languageshift|ase|nolangname=1}} returns ភាសា (nothing).