თარგი:Nihongo2/ინფო

მასალა ვიკიპედიიდან — თავისუფალი ენციკლოპედია

თარგი:Template doc page

Usage[წყაროს რედაქტირება]

თარგი:Details

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.

Examples[წყაროს რედაქტირება]

Code In Japanese, {{Nihongo2|虚無僧}} reads ''komusō''.
Gives In Japanese, 虚無僧 reads komusō.

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.

See also[წყაროს რედაქტირება]

  • {{Nihongo}}, also displays kanji properly, along with Romaji and optional notes, inside parentheses, with the English version before the parentheses.
  • {{Nihongo3}}, essentially the same as {{Nihongo}}, but gives Romaji first and English inside the parentheses