Template:Ruby-zh-p/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (1 revision imported) |
Latest revision as of 18:29, 9 April 2023
This is a documentation subpage for Template:Ruby-zh-p. It contains usage information, categories and other content that is not part of the original template page. |
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.中文
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
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 |