Template:Ruby-zh-p/doc
Appearance
![]() | This is a documentation subpage for Template:Ruby-zh-p. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses TemplateStyles: |
This template is used to add pinyin ruby characters to Chinese characters.
Example
[edit]- Input
- {{Ruby-zh-p|中文|Zhōngwén}}
- Output
- 中文
Important note
[edit]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]Shows a Chinese phrase with pinyin text or other romanization (or translation) as Ruby text above it
Parameter | Description | Type | Status | |
---|---|---|---|---|
Chinese text | 1 | Text in Chinese to be annotated
| Line | required |
Pinyin | 2 | Pinyin, other romanization or translation; shown above the Chinese text
| Line | required |
See also
[edit]