Template:Nihongo

This is the default Nihongo template. By default, English is first, then Japanese, then Romaji, followed by extra fields. The first field type can be changed via setting type1 to J, in case Japanese needs to be displayed first. This would set the second field type to Romaji automatically, if Romaji 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|Kanji|Romaji|extra|extra2|type1=|lineBreak=|noParenthesis=|hover=}}

Default:
English (Kanji, Romaji, extra) extra2

With type1=J:
Kanji (Romaji, extra) extra2

With type1=J and blank Romaji:
Kanji (extra) extra2

Examples

{{Nihongo|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō}}

Jotaro Kujo (空条 承太郎, Kūjō Jōtarō)

{{Nihongo|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|hover=true}}

Jotaro Kujo (空条 承太郎)

{{Nihongo|空条 承太郎|type1=J}}

空条 承太郎

{{Nihongo|空条 承太郎|Kūjō Jōtarō|type1=J}}

空条 承太郎 (Kūjō Jōtarō)

{{Nihongo|空条 承太郎|Kūjō Jōtarō|type1=J|hover=true}}

空条 承太郎

{{Nihongo|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|lineBreak=true}}

Jotaro Kujo (空条 承太郎, Kūjō Jōtarō)

{{Nihongo|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|noParenthesis=true}}

Jotaro Kujo 空条 承太郎, Kūjō Jōtarō

{{Nihongo|'''Jotaro Kujo'''|空条 承太郎|noParenthesis=true}}

Jotaro Kujo 空条 承太郎

{{Nihongo|'''Jotaro Kujo'''|空条 承太郎|Kūjō Jōtarō|lineBreak=true|hover=true|noParenthesis=true}}

Jotaro Kujo 空条 承太郎

{{Nihongo|'''{{W|Shueisha}} Inc.'''|株式会社集英社|Kabushiki Gaisha Shūeisha|lit. "Shueisha Publishing Co., Ltd."}}

Shueisha Inc. (株式会社集英社, Kabushiki Gaisha Shūeisha, lit. "Shueisha Publishing Co., Ltd.")