• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Ruby-zh-p

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
CSSThis template uses TemplateStyles:
  • Template:Ruby/styles.css (sandbox)
  • Template:Ruby-zh-p/styles.css

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

Contents

  • 1 Example
  • 2 Important note
  • 3 TemplateData
  • 4 See also

Example

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

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

Template parameters[Edit template data]

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

See also

edit
  • {{ruby}}
  • {{ruby line}}
The above documentation is transcluded from Template:Ruby-zh-p/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Ruby-zh-p&oldid=1280262367"
Last edited on 13 March 2025, at 15:06

Languages

    • العربية
    • Brezhoneg
    • Català
    • Español
    • فارسی
    • Français
    • Galego
    • Bahasa Indonesia
    • עברית
    • Jawa
    • Қазақша
    • Kiswahili
    • Македонски
    • മലയാളം
    • Bahasa Melayu
    • ភាសាខ្មែរ
    • Português
    • Русский
    • සිංහල
    • Српски / srpski
    • Srpskohrvatski / српскохрватски
    • ไทย
    • Українська
    • اردو
    • Tiếng Việt
    • Winaray
    • 吴语
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 13 March 2025, at 15:06 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop