Jump to content

Template:Nihongo-s/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is a simplified version of {{Nihongo}} without the extra spans or checks and marks the kanji segment as being in Japanese kanji and/or kana, which helps user agents (web browsers and so on) to display it correctly. This template is for articles which calls {{Nihongo}} hundreds of times which may exceed the post-expand limit set by the MediaWiki software.

Syntax
Code {{Nihongo-s|English|kanji/kana|rōmaji}}
Gives English (kanji/kana rōmaji)
Parameters
  • English. Required. The word as translated into English. Note that this will sometimes be the actual Japanese word due to it being adopted into English.
  • kanji/kana. Required. The word as written in Japanese (kanji, kana, Roman letters, and possibly other marks).
  • rōmaji. Optional. Transliteration of the Japanese word, using Hepburn Romanization.

See also

[edit]
  • {{Nihongo}}
  • {{Nihongo2}}, also displays the kanji properly, but without adding anything in parentheses, without rōmaji and without the extra parameters
  • {{Nihongo3}}, essentially the same as Nihongo, but gives rōmaji first and English inside the parentheses
  • {{Nihongo krt}}, essentially the same as Nihongo, but gives kanji first with rōmaji and English inside the parentheses
  • {{Nihongo foot}}, same as Nihongo, but puts everything but the English into a footnote


A simplified version of {{Nihongo}} without the extra spans or checks and marks the kanji segment as being in Japanese kanji and/or kana.

Template parameters

ParameterDescriptionTypeStatus
English text1

no description

Stringrequired
Kanji/kana2

no description

Stringrequired
Romanized (rōmaji) text3

no description

Stringsuggested