Šablon:zh-forms/documentation

New Chinese Hanzi box template, using Module:zh-forms to do its job.

Parameters[uredi]

No 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:

  • |s=
    Simplified form.
  • |t2=, |t3=, ...
    Additional traditional forms.
  • |s2=, |s3=, ...
    Additional simplified forms.
  • |type=
    Compound type. e.g. 照明燈 (|type=21). 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. 阿拉伯聯合酋長國 (|type=323): 阿拉伯3 + 聯合2 + 酋長國3
  • (1st .. nth parameters)
    Overriding existing or providing nonexistent glosses for the 1st .. nth component of the compound.
  • |alt=
    Alternative forms of the word, separated by comma. When annotations following the word are needed, the format is:
    word-qualifier:pronunciation
    e.g.
    |alt=新抱-Cantonese,心抱-Cantonese:sam1 pou5 at 新婦.
  • |gloss=-
    If the word is a phonetic transcription (not including phono-semantic matchings).
  • |lit=
    Literal meaning.
  • |note=
    Additional note to be displayed at the bottom of the template.
  • |delink=
    Does not link to the n-th part (use comma to separate numbers, see 周瑜打黃蓋 for example). If equals 'y', applied to all components.
  • |ss=
    Second-round simplified.
  • |ns=
    Non-standard simplified.
  • |align=
    Forces the box to align left when align=left

Anagrams will be automatically generated for two-character words, if their anagram (char_1 + char_2 becomes char_2 + char_1) entry exists.

Examples[uredi]

[uredi]

{{zh-forms}}


jedn. and trad.


人民[uredi]

{{zh-forms}}


man; person; people the people; nationality; citizen
jedn. and trad.
(人民)


[uredi]

{{zh-forms|t2=喒|t3=偺}}


trad. //
jedn.


[uredi]

{{zh-forms|s=里|t2=裏|alt=𥚃}}


trad. /
jedn.
alternativne forme 𥚃


人山人海[uredi]

{{zh-forms}}


man; person; people mountain; hill man; person; people ocean; sea
jedn. and trad.
(人山人海)


[uredi]

{{zh-forms|s=艳|t2=艷|alt=艶,豓}}


trad. /
jedn.
alternativne forme


[uredi]

{{zh-forms|ss=祘}}


trad.
jedn. #
2nd round simp.


[uredi]

{{zh-forms|s=藉|s2=借|note=借: "rely on"}}


trad.
jedn. /
借: "rely on"


中國[uredi]

{{zh-forms|s=中国}}


 
middle; center; within
middle; center; within; among; in; while (doing sth); during; China; Chinese; hit (the mark)
country; state; nation
trad. (中國)
jedn. (中国)


一意孤行[uredi]

{{zh-forms}}


 
one; single; a
one; single; a; (before verbs) as soon as, once; (before a noun) entire (family, etc.)
 
idea; meaning; wish
idea; meaning; wish; desire; (abbr.) Italy
lone; lonely
 
to go; to do; capable
to go; to do; capable; all right; competent; OK; okay; to travel; temporary; to walk; will do; behavior; conduct; a row; profession; professional
trad. (一意孤行)
jedn. #(一意孤行)


電腦[uredi]

{{zh-forms|s=电脑}}


electric; electricity; electrical brain
trad. (電腦)
jedn. (电脑)


僥幸[uredi]

{{zh-forms|s=侥幸|t2=僥倖}}


by mere luck fortunate; lucky
trad. (僥幸/僥倖) /
jedn. (侥幸)


創造力[uredi]

{{zh-forms|s=创造力|type=21}}


power; force; strength
trad. (創造力) 創造
jedn. (创造力) 创造


姜太公釣魚[uredi]

{{zh-forms|s=姜太公钓鱼|type=32|{{w|Grand Duke Jiang}}|go fishing|delink=1}}


Grand Duke Jiang go fishing
trad. (姜太公釣魚) 釣魚
jedn. (姜太公钓鱼) 钓鱼


周瑜打黃蓋[uredi]

{{zh-forms|s=周瑜打黄盖|1=Zhou Yu|3=Huang Gai|type=212|delink=1,3|lit={{w|Zhou Yu}} attacks {{w|Huang Gai}}}}}


Zhou Yu
 
beat; strike; break
beat; strike; break; mix up; build; fight; fetch; make; tie up; issue; shoot; calculate; since; from; dozen
Huang Gai
trad. (周瑜打黃蓋)
jedn. (周瑜打黄盖)
Literally:Zhou Yu attacks Huang Gai”.


梳妝臺[uredi]

{{zh-forms|s=梳妆台|t2=梳妝台|t3=梳妝檯|t4=梳妝枱|t5=梳粧臺|t6=梳粧台|t7=梳粧檯|t8=梳粧枱|type=21}}


 
(measure word); platform; stage
(measure word); platform; stage; terrace; stand; support; desk; station; broadcasting station
trad. (梳妝臺/梳妝台/梳妝檯/梳妝枱/梳粧臺/梳粧台/梳粧檯/梳粧枱) 梳妝/梳粧 ///
jedn. (梳妆台) 梳妆


白麵[uredi]

{{zh-forms|s=白面}}


 
white; empty; blank
white; empty; blank; bright; clear; plain; pure; gratuitous
flour; noodles
trad. (白麵/白麪) /
jedn. (白面*)


創傷後心理壓力緊張症候群[uredi]

{{zh-forms|s=创伤后心理压力紧张症候群|t2=創傷後心理壓力緊張症候羣|type=32223}}


trad. (創傷後心理壓力緊張症候群/創傷後心理壓力緊張症候羣) 創傷後 心理 壓力 緊張 症候群/症候羣
jedn. (创伤后心理压力紧张症候群) 创伤后 心理 压力 紧张 症候群


加拿大[uredi]

{{zh-forms|gloss=-}}


fonetski
jedn. and trad.
(加拿大)


崑崙[uredi]

{{zh-forms|s=昆仑|t2=昆侖|alt=崐崘|gloss=-}}


fonetski
trad. (崑崙/昆侖) / /
jedn. (昆仑)
alternativne forme 崐崘


斯里賈亞瓦德納普拉科特[uredi]

{{zh-forms|s=斯里贾亚瓦德纳普拉科特|gloss=-}}


fonetski
trad. (斯里賈亞瓦德納普拉科特)
jedn. (斯里贾亚瓦德纳普拉科特)


巴布亞紐幾內亞[uredi]

{{zh-forms|s=巴布亚纽几内亚|type=313|gloss=-}}


fonetski
trad. (巴布亞紐幾內亞) 巴布亞 幾內亞
jedn. (巴布亚纽几内亚) 巴布亚 几内亚


呼和浩特[uredi]

{{zh-forms|type=22|gloss=-|delink=1}}


fonetski
trad. (呼和浩特) 浩特
jedn. #(呼和浩特) 浩特


[uredi]

{{zh-forms|alt=垅-nonstandard simplified}}


jedn. and trad.
alternativne forme nonstandard simplified



TemplateData[uredi]

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

TemplateData for zh-forms


Alternative forms of Chinese/hanzi text

Parametri šablona[Uredi podatke o šablonu]

Ovaj šablon preferira formatiranje parametara u jednom redu.

ParametarOpisVrstaStatus
1st gloss override1

Override for the first component's gloss. Params 1, 2, 3, ... available.

Primer
Zhou Yu
kratak tekstneobavezno
2nd gloss override2

Override for the second component's gloss. Params 1, 2, 3, ... available.

Primer
phonetic
kratak tekstneobavezno
3rd gloss override3

Override for the third component's gloss. Params 1, 2, 3, ... available.

Primer
Huang Gai
kratak tekstneobavezno
Simplified forms

The term in simplified characters

Primer
台湾
tekstpredloženo
Compound typetype

Etymological/component breakdown of the term

Primer
211
brojpredloženo
second traditional formt2

optional. Params t2-t8 available.

Primer
臺灣
Naziv straniceneobavezno
third traditional formt3

optional. Params t2-t8 available.

Naziv straniceneobavezno
second simplified forms2

optional. Params s2-s8 available. Not to be confused with the second round simplified form parameter 'ss'.

Naziv straniceneobavezno
third simplified forms3

optional. Params s2-s8 available.

Naziv straniceneobavezno
second round simplified formss

Second round simplified form of the word.

Naziv straniceneobavezno
variant formsalt

Alternative forms of the word, separated by comma. When annotations following the word are needed, the format is: "word-qualifier:pronunciation"

Primer
新抱-Cantonese,心抱-Cantonese:sam1 pou5
tekstneobavezno
glossgloss

If "-", renders the term as a phonetic transcription.

Primer
-
kratak tekstneobavezno
literallylit

Literal meaning in English

Primer
{{w|Zhou Yu}} attacks {{w|Huang Gai}}
tekstneobavezno
notenote

A note for the term

Primer
借: "rely on"
tekstneobavezno
delink componentsdelink

Parts of the term to not link to; often overrides of the gloss will be preferred

Primer
1,3
tekstneobavezno