Template:Ruby-zh-p/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 18:29, 9 April 2023

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

Example

Input
{{Ruby-zh-p|中文|Zhōngwén}}
Output
Page Template:Ruby-zh-p/styles.css has no content.中文(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