Template:Ruby-zh-p/doc

From MOASSpedia
Jump to navigation Jump to search

This template is used to add pinyin ruby characters to Chinese characters.

Example

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

Important note

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

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