Template:Han char

Definition from Wiktionary, the free dictionary
Jump to: navigation, search



This is used under the Han character header, in the Translingual section of the entry for a single Han character, which precedes the language sections. It adds the character to Category:Han characters in radical/stroke sort order (then by Unicode order).

Usage: {{Han char|parameters}}

Parameters

All parameters are named:

|alt=
alternate form(s)
|rad=
single character radical
|rn=
radical number
|as=
additional strokes.
|asj=
additional strokes in Japanese
|sn=
total strokes. Three here is "3", not "03".
|snj=
total strokes in Japanese
|four=
four corner system (format 1234, 12345 or 1234.5, multivalue separated by comma)
|canj=
Cangjie input (A-Y only, multivalue separated by comma)
|ids=
Ideographic description sequence. Separate multiple values with a comma; for the allowed regional annotations, see below. Usually a single ideographic description character and the two or three characters that the current character is made of.

Notes

These are all from the information loaded by "NanshuBot". The idea is that some of them will change/go away/be represented differently. These changes can be made with the template in some cases; even when a bot is required, it can find the template instance and operate on it.

The template uses 2-column format; this was just done to make the first pass easy.

Regional annotation in the ids parameter states the character's shape that commonly used in some regions:

(G) PRC and Singapore, (C) only PRC, (S) only Singapore,
(H) Hong Kong, (T) Taiwan, (M) Macau, (J) Japan, (K) both Korea, (V) Vietnam,
(X) font-variation that does not appear in the UCS specification but matches the same codepoint

Example

{{Han char|head=字|rn=39|rad=子|as=03|sn=6|four=30407|canj=JND|ids=⿱宀子}}

(radical 39 +3, 6 strokes, cangjie input 十弓木 (JND), four-corner 30407, composition)

See also

See talk page for the earlier documentation.