Module:Guru-translit/doc
函数
tr(text, lang, sc)
- Transliterates a given piece of
text
written in the script specified by the codesc
, and language specified by the codelang
. When the transliteration fails, returnsnil
.
tr(text, lang, sc)
text
written in the script specified by the code sc
, and language specified by the code lang
. When the transliteration fails, returns nil
.这个模组会将古木基文文字转写为拉丁字母。
最好不要直接从模板或其他模组调用此模组。要从模板中使用它,请以{{xlit}}
做为替代;若要在模组中使用,则以Module:languages#Language:transliterate替代。
关于测试用例,请参阅Module:Guru-translit/testcases。