Module:Lang-zh/doc
Ọdịdị
This is the documentation page for Module:Lang-zh
![]() | This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
Usage
This is the module for the template {{zh}}. Its main features of it are described on that template's documentation page. Refer to that for how to use it in articles. This documentation describes some particular features of the module.
The first table in the module lists the articles in which the template will put traditional Chinese first. Add articles to this list in the same fashion (the order doesn't matter) to include them.
Use from other modules
The module can be called directly from another module as well as a template. So do this first load the module
local Zh = require("Module:Zh")._Zh
Then call it as follows, with the arguments in a table
local output = Zh{["c"] = "中国", ["p"] = "zhōngguó"}