Template:Nihongo/doc
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 (or the second when hovering over the first, if the third field is blank) can be enabled by setting hover. A line break after the first parameter can be added by setting lineBreak.
{{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
With type1=R:
Romaji (Kanji, extra) extra2
With type1=R and blank Kanji:
Romaji