模块:LangInfo/doc

来自Terraria Wiki
跳到导航 跳到搜索

这是模块:LangInfo的文档页面

Provides the functionality of {{langInfo}}.

The main and only function is go; the kind of information returned is determined by the second unnamed parameter. The table wplinks contains, for every language where it is necessary, the localized page title of the respective language's page about that language.

Example:

["en"] = "English language"

This is only necessary if that page title is not equal to the language's lname field in the data module.