Template:Han compound/documentation

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

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

which evaluates to:

As elsewhere, etymologies should be referenced.

More parts
For the character classification, a “ ”(stands for "liushu") parameter with " " could be added:

Where  means "Ideograms",   means "Ideogrammic compounds",   means "Phono-semantic compounds".

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

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

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

Additional parameters

 * If specified, returns an adjectival form of the liushu name, i.e. “pictographic” instead of “pictogram”.
 * If specified, returns an adjectival form of the liushu name, i.e. “pictographic” instead of “pictogram”.


 * If yes, converts the first letter to lower case.
 * If yes, converts the first letter to lower case.


 * (for page title character) and  (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).


 * (for the xth component)
 * If yes, the component will be labelled as abbreviated.


 * (for transliteration of the xth component)
 * Replaces Old Chinese pronunciation with user defined pronunciation (eg. for dialectal characters).

TemplateData
{	"params": { "1": {			"label": "1st character", "description": "The first character of the compound", "example": "莫", "type": "wiki-page-name" },		"2": {			"label": "2nd character", "description": "The second character of the compound", "example": "心", "type": "wiki-page-name" },		"3": {			"label": "3rd character...", "description": "3rd character and on are optional; use params 4, 5, 6, etc. for beyond 3", "type": "wiki-page-name" },		"ls": { "type": "string", "label": "Liushu category", "description": "Type of character composition (liùshū/六書)", "example": "“psc” (phono-semantic compound); “i” (ideogram); “id” (ideogrammic compound)" },		"adj": { "label": "Use adjectival form?", "description": "If non-empty, returns an adjectival form of the liushu name, i.e. “pictographic” instead of “pictogram”.", "example": "yes", "type": "string" },		"nocap": { "label": "Use lowercase?", "description": "If 'yes', the first letter will be made lowercase", "example": "yes", "type": "string" },		"alt1": { "label": "Alternate form for character 1", "description": "Alternate form of the first character included in the compound", "example": "⺼", "type": "string" },		"alt2": { "label": "Alternate form for character 2", "description": "Alternate form of the second character included in the compound", "example": "㣺", "type": "string" },		"tr1": { "label": "Translation 1", "description": "Meaning of the first character component", "example": "textiles", "type": "string" },		"tr2": { "label": "Translation 2", "description": "Meaning of the second character component", "example": "heart", "type": "string" }	},	"format": "inline" }