قالب:Nihongo2

من ويكيبيديا، الموسوعة الحرة
اذهب إلى: تصفح، ‏ ابحث

قالب:Nihongo core

Usage[عدل]

Syntax
Code {{Nihongo2|Kanji}}
Gives قالب:Nihongo core

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.

Code {{Nihongo2|Kanji|help=yes}}
Gives قالب:Nihongo core

With the parameter help set to a non-empty value, the template displays a help sign.

Examples[عدل]

Code In Japanese, {{Nihongo2|虚無僧}} reads ''komusō''.
Gives In Japanese, قالب:Nihongo core 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.

انظر أيضا[عدل]

  • {{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, {{Nihongo}} is the template to use.
  • {{Nihongo3}}, essentially the same as {{Nihongo}}, but gives Romaji first and English inside theparentheses