This is a documentation subpage for Template:Nihongo-s. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis template is a simplified version of {{Nihongo}} without the extra spans or checks and marks the kanji
segment as being in Japanese kanji and/or kana, which helps user agents (web browsers and so on) to display it correctly. This template is for articles which calls {{Nihongo}} hundreds of times which may exceed the post-expand limit set by the MediaWiki software.
- Syntax
Code | {{Nihongo-s|English|kanji/kana|rōmaji}}
|
Gives | English (kanji/kana rōmaji) |
- Parameters
- English. Required. The word as translated into English. Note that this will sometimes be the actual Japanese word due to it being adopted into English.
- kanji/kana. Required. The word as written in Japanese (kanji, kana, Roman letters, and possibly other marks).
- rōmaji. Optional. Transliteration of the Japanese word, using Hepburn Romanization.
See also
edit- {{Nihongo}}
- {{Nihongo2}}, also displays the kanji properly, but without adding anything in parentheses, without rōmaji and without the extra parameters
- {{Nihongo3}}, essentially the same as Nihongo, but gives rōmaji first and English inside the parentheses
- {{Nihongo krt}}, essentially the same as Nihongo, but gives kanji first with rōmaji and English inside the parentheses
- {{Nihongo foot}}, same as Nihongo, but puts everything but the English into a footnote
A simplified version of {{Nihongo}} without the extra spans or checks and marks the kanji segment as being in Japanese kanji and/or kana.
Parameter | Description | Type | Status | |
---|---|---|---|---|
English text | 1 | no description | String | required |
Kanji/kana | 2 | no description | String | required |
Romanized (rōmaji) text | 3 | no description | String | suggested |