Format:Nihongo2
Aspect
|
|
Aceasta este pagina de documentație pentru Format:Nihongo2. Pagina descrie modul de folosire al formatului și conține categoriile de care acesta aparține, precum și orice altceva ce nu face parte din formatul propriu-zis. |
Usage
[modificare sursă]- Pentru mai multe detalii despre when to use this template, vedeți 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 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.
Examples
[modificare sursă]| Code | In Japanese, {{Nihongo2|虚無僧}} reads ''komusō''. |
| Gives | In Japanese, 虚無僧 reads komusō. |
User style
[modificare sursă]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.
See also
[modificare sursă]- {{Nihongo}}, also displays kanji properly, along with Romaji and optional notes, inside parentheses, with the English version before the parentheses. If you want to link to Help:Japanese via a small question mark, use this template.