Template:Nihongo2
From Wikipedia, the free encyclopedia
{{{1}}}
[edit] Template documentation
|
[edit] Usage
-
For more details on when to use this template, see Wikipedia:Manual of Style (Japan-related articles).
- Syntax
Code | {{Nihongo2|Kanji}} |
Gives | Kanji |
This template marks the Kanji
segment as being in Japanese Kanji, which helps web browsers display it correctly. It also applies it the t_nihongo_kanji CSS style class.
[edit] Examples
Code | In Japanese, {{Nihongo2|虚無僧}} reads "komusō". |
Gives | In Japanese, 虚無僧 reads "komusō". |
[edit] User style
User style can be set by adding code similar to
- *[lang=ja] { color: green; font-family: Arial; }
or
- .t_nihongo_kanji { color: green; font-family: Arial; }
to common.css.