{{{1}}}
This is the template sandbox page for Template:Nihongo2 (diff). |
This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
Code | {{Nihongo2|Kanji}}
|
Gives | Kanji |
This template marks the Kanji
segment as being in Japanese Kanji, which helps user agents such as web browsers display it correctly. It also applies the t_nihongo_kanji
CSS style.
With the parameter help
set to a non-empty value, the template displays a help sign which links to an article describing the writing system.
Code | {{Nihongo2|Kanji|help=yes}}
|
Gives | Kanji |
Code | In Japanese, {{Nihongo2|虚無僧}} reads ''komusō''.
|
Gives | In Japanese, 虚無僧 reads komusō. |
User style can be set by adding code similar to
or
to common.css.
Marks text as Japanese, optionally displaying a help sign
Parameter | Description | Type | Status | |
---|---|---|---|---|
Kanji/kana text | 1 | no description | String | required |
help | help | If given, shows a help link as superscript | String | optional |