Template:ja-adj/documentation

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
Edit-copy green.svg Documentation for Template:ja-adj. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage[edit]

{{ja-adj|(form)|infl=|hira=|kata=|rom=|kanji=|kyu=|shin=}}

The first parameter is the form of the headword (pagename):

  • k kanji
  • kk kanji with kana following (default)
  • h hiragana (optional: automatically detected)
  • ka katakana (optional: automatically detected)
  • r romaji
  • s shinjitai (simplified kanji)
  • ky kyūjitai (traditional kanji)

This parameter may be omitted when the term is katakana, hiragana, kanji, or some combination of kana and kanji. Basically, it can be omitted nearly every time.

Use the last two only when it is important to show both forms, e.g. on individual characters, or when the word is archaic, and should say it is kyūjitai. Most entries do not use them.

  • infl= い or i, な or na for modern adjectives; なり or nari, たり or tari for classical adjectives. Do not use this template for adnominals or the so-called "pure adjectives" (連体詞, things like 大した or あの). Use {{ja-pos}} with the part of speech adnominal.

Other parameters specify other forms. You do not need to wikilink them, because the template will do it:

  • hira= hiragana
  • kata= katakana
  • rom= romaji

If there are kanji in the term, at least hira or kana is required. As long as one of those is present, or the term is kana, the template will generate romaji automatically, and it may be omitted. To reduce errors due to typos etc. it is probably better not to enter romaji when possible, but editors who are confident that their romanization is more correct than the templates may enter a value for rom and override the automatic romanization. Typically this happens when a romanization contains spaces.

  • kanji= kanji
  • kyu= kyūjitai (use only if entry is s)
  • shin= shinjitai (use only if entry is ky)

The entry is sorted automatically now. There is no need to enter hidx and the template will ignore it if you do.

For entries in hiragana or katakana, nearly everything is automatic. Only specify the inflection. For example, at うざい:

{{ja-adj|infl=i}}

A typical term with kanji such as 面白い should use this template like this:

{{ja-adj|infl=i|hira=おもしろい}}

See also[edit]