模块: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.