Template:Eigo

From Wikipedia, the free encyclopedia

{{{1}}}    

[edit] Template documentation

Contents

[edit] Usage

Syntax
Code {{Eigo|Kanji|furi=Furigana|Romaji|English|extra}}
Gives Kanji (FuriganaRomaji? 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.

[edit] See also

  • {{Nihongo}}, for English on the outside of the parenthesies and Kanji on the inside
  • {{Nihongo2}}, for Kanji only