Inyandikorugero:zh-forms/documentation
Inyandikorugero:documentation subpage New Chinese Hanzi box template, using Module:zh-forms to do its job.
Parameters
hinduraNo compulsory parameters. Template takes the pagename as the traditional and simplified form by default; pagename can be overriden by |t= (use with caution).
Optional parameters:
- Inyandikorugero:para
- Simplified form.
- Inyandikorugero:para, Inyandikorugero:para, ...
- Additional traditional forms.
- Inyandikorugero:para, Inyandikorugero:para, ...
- Additional simplified forms.
- Inyandikorugero:para
- Compound type. e.g. Inyandikorugero:zh-l (Inyandikorugero:para). The compound type is a sequence of '1's with length equal to the number of characters in the pagename by default. Glosses will be generated for each of the compound components, based on:
- (For single characters) stored glosses at Module:zh/data/glosses.
- (For multi-character words) definitions in articles, if they exist.
- e.g. Inyandikorugero:zh-l (Inyandikorugero:para): Inyandikorugero:ruby
- Compound type. e.g. Inyandikorugero:zh-l (Inyandikorugero:para). The compound type is a sequence of '1's with length equal to the number of characters in the pagename by default. Glosses will be generated for each of the compound components, based on:
- (1st .. nth parameters)
- Overriding existing or providing nonexistent glosses for the 1st .. nth component of the compound.
- Inyandikorugero:para
- Alternative forms of the word, separated by comma. When annotations following the word are needed, the format is:
word-qualifier:pronunciation
- e.g.
- Alternative forms of the word, separated by comma. When annotations following the word are needed, the format is:
- Inyandikorugero:para
- If the word is a phonetic transcription (not including phono-semantic matchings).
- Inyandikorugero:para
- Literal meaning.
- Inyandikorugero:para
- Additional note to be displayed at the bottom of the template.
- Inyandikorugero:para
- Does not link to the n-th part (use comma to separate numbers, see Inyandikorugero:zh-l for example). If equals 'y', applied to all components.
- Inyandikorugero:para
- Second-round simplified.
- Inyandikorugero:para
- Non-standard simplified.
- Inyandikorugero:para
- Forces the box to align left when
align=left
- Forces the box to align left when
Anagrams will be automatically generated for two-character words, if their anagram (char_1 + char_2
becomes char_2 + char_1
) entry exists.
Examples
hindura{{zh-forms}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|t2=喒|t3=偺}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=里|t2=裏|alt=𥚃}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=艳|t2=艷|alt=艶,豓}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|ss=祘}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=藉|s2=借|note=借: "rely on"}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=中国}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=电脑}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=侥幸|t2=僥倖}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=创造力|type=21}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=姜太公钓鱼|type=32|{{w|Grand Duke Jiang}}|go fishing|delink=1}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=周瑜打黄盖|1=Zhou Yu|3=Huang Gai|type=212|delink=1,3|lit={{w|Zhou Yu}} attacks {{w|Huang Gai}}}}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=梳妆台|t2=梳妝台|t3=梳妝檯|t4=梳妝枱|t5=梳粧臺|t6=梳粧台|t7=梳粧檯|t8=梳粧枱|type=21}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=白面}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=创伤后心理压力紧张症候群|t2=創傷後心理壓力緊張症候羣|type=32223}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|gloss=-}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=昆仑|t2=昆侖|alt=崐崘|gloss=-}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=斯里贾亚瓦德纳普拉科特|gloss=-}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|s=巴布亚纽几内亚|type=313|gloss=-}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|type=22|gloss=-|delink=1}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
{{zh-forms|alt=垅-nonstandard simplified}}
Script error: No such module "zh-forms".
| width=1% | | bgcolor=#f9f9f9 valign=top |
TemplateData
hinduraInyandikorugero:TemplateDataHeader
Alternative forms of Chinese/hanzi text
Parameter | Description | Type | Status | |
---|---|---|---|---|
1st gloss override | 1 | Override for the first component's gloss. Params 1, 2, 3, ... available.
| Line | optional |
2nd gloss override | 2 | Override for the second component's gloss. Params 1, 2, 3, ... available.
| Line | optional |
3rd gloss override | 3 | Override for the third component's gloss. Params 1, 2, 3, ... available.
| Line | optional |
Simplified form | s | The term in simplified characters
| String | suggested |
Compound type | type | Etymological/component breakdown of the term
| Number | suggested |
second traditional form | t2 | optional. Params t2-t8 available.
| Page name | optional |
third traditional form | t3 | optional. Params t2-t8 available. | Page name | optional |
second simplified form | s2 | optional. Params s2-s8 available. Not to be confused with the second round simplified form parameter 'ss'. | Page name | optional |
third simplified form | s3 | optional. Params s2-s8 available. | Page name | optional |
second round simplified form | ss | Second round simplified form of the word. | Page name | optional |
variant forms | alt | Alternative forms of the word, separated by comma. When annotations following the word are needed, the format is: "word-qualifier:pronunciation"
| String | optional |
gloss | gloss | If "-", renders the term as a phonetic transcription.
| Line | optional |
literally | lit | Literal meaning in English
| String | optional |
note | note | A note for the term
| String | optional |
delink components | delink | Parts of the term to not link to; often overrides of the gloss will be preferred
| String | optional |