Template:zh-x/documentation

Example and quotation template customised for Chinese.

Usage

 * By default, this template gives a multi-lined example usage for a specified Chinese variety in the following order: (1) Traditional Chinese script (2) Simplified Chinese script (if title is both trad/simp and if simp usex is different from trad) (3) Reference (if provided) (4) Romanization (Pinyin by default unless dialectal variety is specified) (5) Translation (optional)


 * Note that  has to be in the traditional script.

Additional parameters:


 * 3
 * Variety (eg.  for Cantonese;   for Classical Chinese;   for Min Nan) specifiable at parameter 3. If unspecified, default variety is  . See Module:zh-usex/data for list of variety codes.
 * tr
 * Transliteration.
 * 1
 * Turns off the capitalization of the first letter of the transliteration (so that the first letter is not modified).
 * ref
 * Reference (author followed by name of work). See also Module:zh-usex/data for abbreviations of historical works.
 * in_notes
 * 'y' if it is not used after a '#'-indented definition.
 * a
 * An audio file of the given example sentence.
 * collapsed
 * y Shows the traditional characters and English translation, with simplified characters and romanization available in a drop down box. Used for Classical Chinese quotes.
 * y
 * Suppress categorization into Category:Chinese terms with quotations or Category:Chinese terms with usage examples.
 * lit
 * adds (literally, “literal meaning”) after the translation
 * simp
 * y if the original text is in simplified. Only works for zh-q and other quotation templates; raises an error otherwise or when 3 is not supposed to be written in simplified.

Tricks

 * Override the automatic romanization of  with , e.g.   or.
 * Capitalises the first letter of the romanization of the ensuing character, e.g. . Note that sentence-initial letters in romanization is automatically done.
 * Do not link to.
 * Links to  while displaying.
 * Forces a traditional character  to convert to a different simplified character , e.g..
 * Produce pinyin of  but link to.
 * (To add example sentences which include a '.' in the text, see the example sentence on the page.    &amp;#46; )
 * (Mandarin) Produce pinyin of  but link to   and.
 * (Mandarin) Produce pinyin of  but link to.
 * (Mandarin) Produce pinyin of  and link to   and.
 * (Min Nan, Hakka) Produce POJ/PFS of  but link to   and.
 * (Min Nan) Produces "--" in POJ. The romanization of the surrounding word may need to be manually added using.
 * (To add example sentences which include a space in the text, see the example sentence on the page.  )
 * (Mandarin) Produce pinyin of  but link to   and.
 * (Mandarin) Produce pinyin of  but link to.
 * (Mandarin) Produce pinyin of  and link to   and.
 * (Min Nan, Hakka) Produce POJ/PFS of  but link to   and.
 * (Min Nan) Produces "--" in POJ. The romanization of the surrounding word may need to be manually added using.
 * (To add example sentences which include a space in the text, see the example sentence on the page.  )
 * (Min Nan, Hakka) Produce POJ/PFS of  but link to   and.
 * (Min Nan) Produces "--" in POJ. The romanization of the surrounding word may need to be manually added using.
 * (To add example sentences which include a space in the text, see the example sentence on the page.  )
 * (Min Nan) Produces "--" in POJ. The romanization of the surrounding word may need to be manually added using.
 * (To add example sentences which include a space in the text, see the example sentence on the page.  )

For examples, see 愛怎麼著怎麼著, 曖昧, 想起, 來著, 阿伯 (Cantonese), 昨日 (Min Nan).

寒冷
gives


 * 1) cold; freezing

一席之地
gives


 * 1) a small space; a niche

不好意思
gives


 * 1) sorry; excuse me

自足
gives


 * 1) complacent

佢哋
gives


 * 1) they

愛怎麼著怎麼著
gives


 * 1) do as you want

濫竽充數
gives



TemplateData
{	"params": { "1": {			"required": true },		"2": {			"suggested": true },		"3": {},		"ref": {}, "collapsed": { "description": "Hide pinyin and simplified Chinese behind a dropdown button. Only for Etymology sections, where very long text is quoted." }	},	"format": "inline" }