Template:Zh

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation Jump to search

This is the default Zh template for rendering Chinese characters. By default, English is first, then Chinese, then Pinyin, followed by extra fields. The first field type can be changed via setting type1 to C, in case Chinese needs to be displayed first. This would set the second field type to Pinyin automatically, if Pinyin is included. The parenthesis can be removed by setting noParenthesis. Functionality to display the third field in a standalone box while hovering over the second field can be enabled by setting hover. A line break after the first parameter can be added by setting lineBreak.

Usage

{{nihongo|English|Hanzi|Pinyin|extra|extra2|type1=|lineBreak=|noParenthesis=|hover=}}

Default:
English (Hanzi, Pinyin, extra) extra2

With type1=C:
Hanzi (Pinyin, extra) extra2

With type1=C and blank Pinyin:
Hanzi

With type1=P:
Pinyin (Hanzi, extra) extra2

With type1=P and blank Hanzi:
Pinyin

Examples

Usage
Code
Output
English (Chinese, Pinyin)
{{Zh|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō}}
Jotaro Kujo (空条 承太郎, Kūjō Jōtarō)
English (Chinese, Pinyin)
Pinyin appears on hover
{{Zh|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|hover=true}}
Jotaro Kujo (空条 承太郎)
Chinese
{{Zh|空条 承太郎|type1=C}}
空条 承太郎
Chinese (Pinyin)
{{Zh|空条 承太郎|Kūjō Jōtarō|type1=C}}
空条 承太郎 (Kūjō Jōtarō)
Pinyin
{{Zh|Kūjō Jōtarō|type1=P}}
Kūjō Jōtarō
Pinyin (Chinese)
{{Zh|Kūjō Jōtarō|空条 承太郎|type1=P}}
Kūjō Jōtarō (空条 承太郎)
Chinese (Pinyin)
Pinyin appears on Hover
{{Zh|空条 承太郎|Kūjō Jōtarō|type1=C|hover=true}}
空条 承太郎
English
(Chinese, Pinyin)
{{Zh|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|lineBreak=true}}
Jotaro Kujo
(空条 承太郎, Kūjō Jōtarō)
English Chinese, Pinyin
{{Zh|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|noParenthesis=true}}
Jotaro Kujo 空条 承太郎, Kūjō Jōtarō
English Chinese
{{Zh|'''Jotaro Kujo'''|空条 承太郎|noParenthesis=true}}
Jotaro Kujo 空条 承太郎
English
Chinese, Pinyin
(Pinyin appears on Hover)
{{Zh|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|lineBreak=true|hover=true|noParenthesis=true}}
Jotaro Kujo
空条 承太郎
English (Chinese, Pinyin, extra)
{{Zh|'''{{W|Shueisha}} Inc.'''|集英社|Shūeisha|日语:株式会社集英社}}
Shueisha Inc. (集英社, Shūeisha, 日语:株式会社集英社)