সাঁচ:Nihongo2
{{{1}}}
Usage
সম্পাদনা কৰকwhen to use this template বিষয়ে বিতংভাৱে জানিবৰ বাবে, 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.
Code | {{Nihongo2|Kanji|help=yes}}
|
Gives | Kanji |
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. If you want to link to Help:Japanese via a small question mark, use this template.
- {{Nihongo3}}, essentially the same as {{Nihongo}}, but gives Romaji first and English inside the parentheses
- {{Nihongo foot}}, same as
{{nihongo}}
, but puts everything but the English into a footnote.
The above documentation is transcluded from সাঁচ:Nihongo2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |