Template:Ruby-zh-p/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. This template is used to add pinyin ruby characters to Chinese characters.

Example

[edit source]
Input
{{Ruby-zh-p|中文|Zhōngwén}}
Output
中文(Zhōngwén)

Important note

[edit source]

This template should only be used for pinyin ruby characters. For bopomofo, please use {{ruby-zh-b}}. Otherwise, use the generic {{ruby}} with the {{lang}}, or {{ruby-ja}} for Japanese furigana characters.

TemplateData

[edit source]

Shows a Chinese phrase with pinyin text or other romanization (or translation) as Ruby text above it

Template parameters

ParameterDescriptionTypeStatus
Chinese text1

Text in Chinese to be annotated

Example
中文
Linerequired
Pinyin2

Pinyin, other romanization or translation; shown above the Chinese text

Example
Zhōngwén
Linerequired

See also

[edit source]