Шаблон:zh-new/der/documentation

Automatically creates derived-terms list ({{zh-der}}) for Chinese entries, by extracting any relevant term in Module:zh/data/wordlist/1, 2, 3 (from 教育部重編國語辭典修訂本). The list has been filtered to remove sum-of-parts toponyms and non-Wiktionary-material people's names.

Parameters[уреди]

  • |1=, |2=, ..., |n=: to add items to the list (see #Usage below)
  • |p=xxx: if you wish to extract all compounds in which the character is pronounced as 'xxx' in Mandarin.
  • |fold=1: if you would like to force-collapse the resulting table.
  • |hide_pron=1: use a no-transcription mode for long lists

Usage[уреди]

{{subst:zh-new/der}}

If you wish to add existing terms to the new list, use

{{subst:zh-new/der|term1|term2|...}}

Any duplicates in the resulting list will be removed. |limit= (e.g. 2) can be used to limit the max number of characters in items of the output list. (no default limit exists for polysyllabic titles, default for monosyllabic titles is 4)

Output is in the format of

{{zh-der|term1|term2|...}}

See {{zh-der}}.

The parameter |p= can be used to specify compounds for a particular reading of a character entry; see example below.

Add |fold=1 when substituting, if a compulsory collapsed view is desired in the {{zh-der}} output.

Examples[уреди]

市場 (diff):

{{subst:zh-new/der|菜市場|股票市場|貨幣市場|金融市場|農貿市場|人才市場|市場化|市場價|市場價值|市場營銷|跳蚤市場|資本市場|自由市場}}

(diff):

{{subst:zh-new/der}}

{{subst:zh-new/der|p=wéi|limit=6}}