Plantilla:ja-kanji/ús

De Viccionari
Aquesta és una subpàgina auxiliar per a Plantilla:ja-kanji
Vegeu aquesta pàgina pel codi de la plantilla

Té la informació d'ús, les categories, els enllaços interwiki i qualsevol altre contingut que no forma part essencial de la plantilla.

In entries for kanji (Japanese characters), this template generates a headword, shows the grade of the kanji (see w:en:Kyōiku kanji#List by grade), and shows the category of terms that use the kanji. It uses the kanji function in Module:ja-trans to generate the headword and the grade link.

Usage[modifica]

Use this template for single kanji, to show the grade and add the character to the appropriate category. Use the following after the === Kanji === header:

{{ja-kanji|rs= |grade= |shin= |kyu= }}

E.g. for :

{{ja-kanji|rs=宀03}}

This template also categorizes the entry in Category:Kanji, and the appropriate grade, which are sorted by radical/stroke.

Parameters[modifica]

  • rs= Provides the sort key, radical + 2 digit stroke. If no sortkey was found, the kanji will appear in Category:Kanji sense arrel i traços.
  • grade= Determined automatically, but may be overridden with 1 (grade 1), 2 (grade 2), 3 (grade 3), 4 (grade 4), 5 (grade 5), 6 (grade 6), 7 or c (secondary school), 8 or n (jinmeiyō), 9 or uc (hyōgaiji). In the case of kanji that exist only as radicals, the value 0 or r must be manually specified.

If a kanji has either a shinjitai or kyūjitai form, you may link to it in the same way as the headword templates as follows:

  • shin= Links to the shinjitai form of the current kanji.
  • kyu= Links to the kyūjitai form of the current kanji.

For example, for :

{{ja-kanji|rs=心06|kyu=恆}}

But for :

{{ja-kanji|rs=心06|shin=恒}}