Predefinição:LangInfo

Fonte: Terraria Wiki
Saltar para a navegação Saltar para a pesquisa
Esta predefinição utiliza Lua.
Esta predefinição utiliza Módulo:LangInfo, um script escrito na linguagem de programação Lua. Para aprender mais sobre Lua, veja Terraria Wiki:Lua (en).
Template-info.svg Documentação A documentação que segue é transcluída de Predefinição:LangInfo/doc. (editar | histórico)

Provides certain information about a language based on its ISO 639-1 code.

Usage

{{ langInfo | <language code> | <stat> }}

First unnamed parameter

Official ISO 639-1 code of the language. For a list of codes, see the List of ISO 639-1 codes on Wikipedia.

Second unnamed parameter

Information to query. Can be one of the following:

Stat name Description Example codes
en fr ru hi zh
name Common (English) name of the language English French Russian Hindi Chinese
fullname Full (English) name of the language English language French language Russian language Hindi Chinese language
lname Endonym (local name of the language) English français русский हिन्दी 中文
wplink Link to the language's local Wikipedia article English français Русский язык हिन्दी 汉语
countrycode ISO 3166-1 code of the country that the language is commonly associated with us fr ru in cn

The fullname stat is also equal to the title of the English Wikipedia article about the language.