Template:Ruby-zh-p
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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
- 中文
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
| 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 |