Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Pinyin/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{module rating|beta}} This module converts [[Hanyu Pinyin]] input from the "lazy" numbers form (eg. Han4yu3 pin1yin1) to the proper form with tones marked on the correct vowels (eg. Hànyǔ pīnyīn). It implements {{tl|Pinyin}} 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) == Usage == {{#invoke:{{BASEPAGENAME}}|pinyin|''input''}} * '''input''' - 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. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| <!-- Categories go here and interwikis go in Wikidata. --> }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Module rating
(
edit
)
Template:Tl
(
edit
)