Jump to content

Template:zh-new/documentation

From Wiktionary, the free dictionary
Documentation for Template:zh-new. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Second-generation autocreation tool, relying on Module:zh-new.

Default format

[edit]

At the character-titled page, use the following code:

{{subst:zh-new|PoS|def|2nd PoS|2nd def}}

The last two are optional.

Preview and save.

Parts of speech parameters

[edit]
  1. 'n' - Noun (default)
  2. 'v' - Verb
  3. 'a' - Adjective
  4. 'adj' - Adjective
  5. 'adv' - Adverb
  6. 'pn' - Proper noun
  7. 'propn' - Proper noun
  8. 'intj' - Interjection
  9. 'num' - Numeral
  10. 'ph' - Phrase
  11. 'abb' - Abbreviation
  12. 'id' or 'cy' - Idiom
  13. 'prov' - Proverb
  14. 'pron' - Pronoun
  15. 'conj' - Conjunction
  16. 'part' - Particle
  17. 'prep' - Preposition
  18. 'postp' - Postposition
  19. 'cl' - Classifier
  20. 'suf' - Suffix
  21. 'deter' - Determiner

Examples

[edit]

猖獗

{{subst:zh-new|a|[[rampant]]}}

冰櫃

{{subst:zh-new||[[freezer]]|syn=冰箱}}

Additional parameters

[edit]
  • Compound type:
|type=21,12,22,211,112,23,32

eg. 八卦|掌, 水|立方, 基礎|設施, 風韻|猶|存, 歷|盡|艱辛, 噴墨|打印機, 姜太公|釣魚
  • Etymology:
|e1=good|e2=man
  • Overriding syllables of the automatically-generated pinyin:
|p1=xiá|p2=...|p8=
  • Korean Hangeul:
|k=가|kt=ga|ke=song
  • Vietnamese Quoc Ngu:
|v=ca|ve=song
  • Synonym:
|syn=歌曲|syn2=歌謠
  • Antonym:
|ant=差|ant2=爛
  • Coordinate term:
|coo=...|coo2=
  • Derived term:
|der=...|der2=
|der=a  (calls {{subst:zh-new/der}})
|der=a,結隊而行,big=1  (calls {{subst:zh-new/der|結隊而行|big=1}})
  • Related term:
|rel=...|rel2=
  • See also:
|also=...|also2=
  • Alternative form:
|alt=...
  • Pronunciations in other varieties:
|c=(Jyutping)|mn=(POJ)|w=(WT rom)
  • Suppressing the addition of a lect's pronunciation:
|m=-|c=-

Note

[edit]
  • Always check the correctness of the pinyin - the current character-pinyin conversion table is unsophisticated, hence polyphonic or otherwise troublesome characters may exhibit errors.
  • Always check the correctness of the simp-trad two-way conversion - like above, the conversion table is one-to-one and may be subject to errors.

Derivative

[edit]