Шаблон:Nihongo2
Изглед
{{{1}}}
Овај чланак или један његов део није преведен на српски језик. |
| Овај шаблон се користи на значајном броју страница, тако да ће промене на њему бити широко примећене. Да би се избегле грешке великих размера и беспотребно оптерећивање сервера, молимо да било какве промене тестирате на подстраницама шаблона /песак или /тест, или на сопственој корисничкој подстраници. Размислите и о покретању расправе о променама које намеравате да унесете на страници за разговор пре њиховог примењивања. |
Овај шаблон не би требало да се користи у шаблонима за навођење извора као што је CS1 или CS2, зато што укључује означавање које ће да загади COinS метаподатке који се производе; погледајте COinS на Википедији. |
Usage
[уреди извор]- 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.
- {{Nihongo3}}, essentially the same as {{Nihongo}}, but gives Romaji first and English inside the parentheses
- {{Nihongo krt}}, essentially the same as this template, but with rōmaji and English inside the parentheses
- {{Nihongo-s}}, a simplified version of {{Nihongo}} without the extra spans or checks
- {{Nihongo foot}}, same as {{Nihongo}}, but puts everything but the English into a footnote.
Marks text as Japanese, optionally displaying a help sign
| Параметар | Опис | Врста | Статус | |
|---|---|---|---|---|
| Kanji/kana text | 1 | нема описа | текст | обавезно |
| help | help | If given, shows a help link as superscript | текст | необавезно |