Template:Nihongo2
Jump to navigation
Jump to search
{{{1}}}
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see COinS in Starfleet Logistics. |
Usage[edit source]
- 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[edit source]
Code | In Japanese, {{Nihongo2|虚無僧}} reads ''komusō''.
|
Gives | In Japanese, 虚無僧 reads komusō. |
User style[edit source]
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[edit source]
- {{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-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.
External links[edit source]
- Template:Nihongo2 at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Nihongo2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |