模組:Pinyin/doc

維基百科,自由的百科全書

此頁面為 Module:Pinyin 的說明文件

本模塊可以通過數字代替音調(例如Han4yu3 pin1yin1)來生成音調文字漢語拼音文本。

Additionally, the module converts the convenient shorthand v to ü as in most Chinese pinyin IMEs, and catches the incorrect nue and lue to nüe and lüe respectively. Otherwise, the module does not check whether the input pinyin is entered correctly or not.

Also supports putting the accent on esoteric pinyin like on m, ng, and ê. (eg. ng3 gives ňg)

用法[編輯]

{{#invoke:Pinyin|pinyin|内容}}
  • 內容 - The values to convert to proper pinyin form. As input, the pinyin for individual characters has to be in the form untoned pinyin + tone number with no spaces between them (eg. ma1), though there is no limitation on how many words to take as input and whether there are spaces between individual characters.