Template:PageLanguage

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation

This template detects the page language by its title. You can also choose the format of the template's output, the default format is the page's language name in its native language. This template uses the language names and codes defined in {{Language}}.

Parameters[edit source]

  • 1: The title of the page to be checked.
  • code: Set to have this template return the language code.
  • en: Set to have this template return the language name in English.

Examples[edit source]

{{PageLanguage}}

produces:
English


{{PageLanguage|Main Page/fr}}

produces:
Français


{{PageLanguage|Main Page/de|code=1}}

produces:
de


{{PageLanguage|Main Page/zh|en=1}}

produces:
Mandarin