Jump to content

සැකිල්ල:Han compound/documentation

Wiktionary වෙතින්
Documentation for සැකිල්ල:Han compound. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is used in the glyph origin section, similar to {{compound}}, but specifically for Hanzi compound. Use

{{Han compound|first part|second part|optionally more parts}}

For instance, a simple etymology of could be created with:

{{Han compound|莫|巾}}

which evaluates to:

+

As elsewhere, etymologies should be referenced.

For the character classification, a “|ls=”(stands for "liushu") parameter with "i/ic/psc" could be added:

{{Han compound|莫|巾|ls=psc}}

Where i means "Ideograms", ic means "Ideogrammic compounds", psc means "Phono-semantic compounds" (形聲字形声字).

A Phono-semantic compound is made up of two characters: phonetic one and semantic one. Mark them by using “|c1=”, “|c2=” with parameters "p" or "s":

{{Han compound|莫|巾|c1=p|c2=s|ls=psc}}

Phono-semantic compound (形聲形声): phonetic (OC *maːɡ) + semantic

Furthermore, there is the possibility to give translations of the parts by using “|t1=”, “|t2=”:

{{Han compound|莫|巾|t2=textiles|ls=psc}}

Finally, alternative representation forms can be given by using the “|alt1=”, “|alt2=” parameters, take "慕" for example:

{{Han compound|莫|心|t2=heart|alt2=㣺|ls=psc}}

Phono-semantic compound (形聲形声): + (heart)

Additional parameters

[සංස්කරණය]
|adj=
If specified, returns an adjectival form of the liushu name, i.e. “pictographic” instead of “pictogram”.
|nocap=
If yes, converts the first letter to lower case.
|no_och= (for page title character) and |no_ochx= (for the xth component)
If specified, disables automatic Old Chinese pronunciation for the corresponding character (which is displayed by default for the title character and the phonetic component, if the character is a phono-semantic character).
|abbx= (for the xth component)
If yes, the component will be labelled as abbreviated.
|trx= (for transliteration of the xth component)
Replaces Old Chinese pronunciation with user defined pronunciation (eg. for dialectal characters).

For characters of non-Chinese origin

[සංස්කරණය]
{{Han compound|米#Vietnamese|頗#Vietnamese|c1=s|c2=p|t1=rice|tr2=phở|ls=psc}}

Phono-semantic compound (形聲形声): semantic (rice) + phonetic (phở)

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Han compound

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
1st character1

The first character of the compound

Example
Page nameoptional
2nd character2

The second character of the compound

Example
Page nameoptional
3rd character...3

3rd character and on are optional; use params 4, 5, 6, etc. for beyond 3

Page nameoptional
Liushu categoryls

Type of character composition (liùshū/六書)

Example
“psc” (phono-semantic compound); “i” (ideogram); “id” (ideogrammic compound)
Stringoptional
Use adjectival form?adj

If non-empty, returns an adjectival form of the liushu name, i.e. “pictographic” instead of “pictogram”.

Example
yes
Stringoptional
Use lowercase?nocap

If 'yes', the first letter will be made lowercase

Example
yes
Stringoptional
Alternate form for character 1alt1

Alternate form of the first character included in the compound

Example
Stringoptional
Alternate form for character 2alt2

Alternate form of the second character included in the compound

Example
Stringoptional
Translation 1tr1

Meaning of the first character component

Example
textiles
Stringoptional
Translation 2tr2

Meaning of the second character component

Example
heart
Stringoptional


"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:Han_compound/documentation&oldid=167919" වෙතින් සම්ප්‍රවේශනය කෙරිණි