:Language info

Terraria Wiki
둘러보기로 이동 검색으로 이동
This template uses Lua.
This template uses 모듈:Language info, a script written in the Lua programming language. To learn more about Lua, see Terraria Wiki:Lua.
Template-info.svg Documentation The documentation below is transcluded from 틀:Language info/doc. (edit | history)

Used to handle interwiki links, and delegate {{translation projects}}.

The basic idea is to collect page information from each language wiki, merge them to form a database on en, and then distribute it to each language wiki.

Usage

On en wiki(include onwiki non-English languages): {{language info}}
or: {{language info|en=<en page name>}} (mainly for templates/modules, easier to sync for offwiki language wikis)

You can use {{subst:}} to do it easier, e.g.:

{{language info|en={{subst:FULLPAGENAME}}}} (for English pages).

On language wikis (offwiki languages): {{language info|en=<en page name>}} (must and only need to specify en page name (as index key))


That's all.

Database Maintenance

The database for this template is stored in Module:Language_info/data. Maintenance work consists of two steps.

Step 1: Maintain the main database Get codes from Template:Language_info/luadata from all wikis (en and every offwiki language wiki), merge them into Module:Language_info/data.

Step 1: Sync it to offwiki language wikis Sync the content of Module:Language_info/data to every language wiki (zh/fr/de....).