{{{1}}}
![]() | This template uses Lua: |
![]() | This template should always be substituted (i.e., use {{ subst:Pinyin}}). |
This template converts Hanyu Pinyin input from the "lazy" numbers form (e.g. Han4yu3 pin1yin1) to the proper form with tones marked on the correct vowels (e.g. Hànyǔ pīnyīn) according to the rules of pinyin.
Additionally, the module converts the convenient shorthand v to ü as in most Chinese pinyin IMEs, and 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 ê. (e.g. ng4 gives ǹg)
{{subst:pinyin|input}}
This template converts Hanyu Pinyin input from the "lazy" numbers form (e.g. Han4yu3 pin1yin1) to the proper form with tones marked on the correct vowels (e.g. Hànyǔ pīnyīn) according to the rules of pinyin. Should be substituted!
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text with tone numbers | 1 text | Pinyin with tone numbers to convert to diacritic marks
| Line | required |