Template:Eigo
From Wikipedia, the free encyclopedia
{{{1}}}
[edit]
Template documentation
|
[edit] Usage
- Syntax
| Code | {{Eigo|Kanji|furi=Furigana|Romaji|English|extra}} |
| Gives | Kanji (Furigana, Romaji? English) extra |
| Code | {{Eigo|Kanji|help=icon}} |
| 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.
[edit] Examples
| Code | {{Eigo|翼手|yokushu|lit. wing hand}} |
| Gives | 翼手 (yokushu? lit. wing hand) |
A name with furi:
| Code | {{Eigo|葉月|furi=はづき|Hazuki}} |
| Gives | 葉月 (はづき, Hazuki?) |
A sentence with furi:
| Code | The word chimera was written with the characters {{Eigo|死美獣|furi=キメラ|kimera||meaning "deadly beautiful beast"}}. |
| Gives | The word chimera was written with the characters 死美獣 (キメラ, kimera?) meaning "deadly beautiful beast". |
[edit] 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.

