Pang-bô͘:zh-x/doc
Example and quotation template customised for Chinese. Uses Module:zh-usex.
Usage
siu-kái{{zh-x|FORM|TRANSLATION}}
- 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
FORM
has to be in the traditional script.
Additional parameters:
|3=
- Variety (eg.
C
for Cantonese;CL
for Classical Chinese;MN
for Min Nan) specifiable at parameter 3. If unspecified, default variety isMSC
. See Module:zh-usex/data for list of variety codes.
- Variety (eg.
|link=
|link=yes
linkifies all decomposed words. See examples below.
|display_type=
- Default is 'plain'. An alternative is 'ruby'. See example below.
|tr=
- Transliteration.
|tr_nocap=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=
|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.
Tricks
siu-káiCHAR{ROM}
- Override the automatic romanization of
CHAR
withROM
, e.g.花兒{r}
or樣{joeng6-2}
.
- Override the automatic romanization of
^CHAR
- Capitalises the first letter of the romanization of the ensuing character, e.g.
^亞洲
. Note that sentence-initial letters in romanization is automatically done.
- Capitalises the first letter of the romanization of the ensuing character, e.g.
@WORD
- Do not link to
WORD
.
- Do not link to
CHAR\RAHC
- Links to
CHAR
while displayingRAHC
.
- Links to
TCHAR[SCHAR]
- Forces a traditional character
TCHAR
to convert to a different simplified characterSCHAR
, e.g.著[着]
.
- Forces a traditional character
CHAR.CHAR
- Produce pinyin of
CHAR CHAR
but link toCHARCHAR
. - (To add example sentences which include a '.' in the text, see the example sentence on the 地牛翻身 page. HTML entities .)
- Produce pinyin of
CHAR-CHAR
- (Mandarin) Produce pinyin of
CHARCHAR
but link toCHAR
andCHAR
.
- (Mandarin) Produce pinyin of
%
- (Min Nan) Produces "--" in POJ. The romanization of the surrounding word may need to be manually added using
CHAR{ROM}
.
- (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. HTML entities)
For examples, see 愛怎麼著怎麼著, 曖昧, 想起, 來著, 阿伯 (Cantonese), 昨日 (Min Nan).
Examples
siu-kái# [[cold]]; [[freezing]] #: {{zh-x|室外 非常 '''寒冷''',大家 都 把 身體 蜷縮 起來 保暖。|It's '''freezing''' outside, everyone huddle together to keep warm.}}
gives
# [[cold]]; [[freezing]] #: {{zh-x|室外 非常 '''寒冷''',大家 都 把 身體 蜷縮 起來 保暖。|It's '''freezing''' outside, everyone huddle together to keep warm.|display_type=ruby}}
gives
# a small space; a [[niche]] #: {{zh-x|這個 公司 在 海外 市場 佔有 '''一席之地'''。|This company occupies a '''niche''' in the overseas market.}}
gives
- a small space; a niche
# [[sorry]]; [[excuse me]] #: {{zh-x|'''不好意思{si}''',我 現在 手 上{shang} 有 事 在 做,一會兒{r} 打 給 你 好 嗎?|'''Sorry''', I'm in the middle of something, can I call you back later?}}
gives
# [[complacent]] #: {{zh-x|道理 無窮,學者 先 要不{bu}得 有 '''自足''' 心。|Truth is infinite; a scholar cannot afford to have a '''complacent''' attitude.|link=yes}}
gives
# [[they]] #* {{zh-x|唔好 摸 啲 老鼠 啦,'''佢哋''' 污糟 邋遢。|Don't touch the rats; they are extremely dirty.|C-GZ|tr=m4 hou2 mo2 di1 lou5 syu2 laa3, '''keoi5 dei6''' wu1 zou1 laat6 taat3.}}
gives
# do as you want #* {{zh-x|@李 @^玉深 說:「 他們 (養 雞 戶) 要{yāo}求 就 是 說,你 就 把 這 錢 給 我們,我們 '''愛.怎麼.著[着]{zhāo}.怎麼.著[着]{zhāo}''' 吧,我 說 你 愛.怎麼.怎麼.著[着]{zhāo} 不行 啊,我 得{děi} 為 一 個 村 的 資金 負責,我 到 時候{hou} 給 國家 流失 了 資金,老百姓 的 錢 見-不到,我 有 責任。」|Li Yushen said, "They (the family raising chickens) request that you give this money to us and that we can '''do with it as we please'''. I said '''this''' just won't do - I'm responsible for the money of the village. If the people's money disappears and cannot be recovered, I will be responsible."|link=yes}}
gives
- do as you want
- 李玉深說:「他們(養雞戶)要求就是說,你就把這錢給我們,我們愛怎麼著怎麼著吧,我說你愛怎麼怎麼著不行啊,我得為一個村的資金負責,我到時候給國家流失了資金,老百姓的錢見不到,我有責任。」 [標準漢語, 正體]
- Lǐ Yùshēn shuō: “Tāmen (yǎng jī hù) yāoqiú jiù shì shuō, nǐ jiù bǎ zhè qián gěi wǒmen, wǒmen ài zěnme zhāo zěnme zhāo ba, wǒ shuō nǐ ài zěnme zěnme zhāo bùxíng a, wǒ děi wèi yī ge cūn de zījīn fùzé, wǒ dào shíhou gěi guójiā liúshī le zījīn, lǎobǎixìng de qián jiànbùdào, wǒ yǒu zérèn.” [拼音]
- Li Yushen said, "They (the family raising chickens) request that you give this money to us and that we can do with it as we please. I said this just won't do - I'm responsible for the money of the village. If the people's money disappears and cannot be recovered, I will be responsible."
李玉深说:“他们(养鸡户)要求就是说,你就把这钱给我们,我们爱怎么着怎么着吧,我说你爱怎么怎么着不行啊,我得为一个村的资金负责,我到时候给国家流失了资金,老百姓的钱见不到,我有责任。” [標準漢語, 簡體]