模板:Zh-l/doc
此页面是Template:Zh-l的模板文档文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
This template and {{zh-m}}
use the link
function from Module:zh/link. Both templates take the same parameters.
使用方法
编辑{{zh-l|TRAD_FORM/SIMP_FORM|Transliteration|Gloss}}
{{zh-l|TRAD_FORM/SIMP_FORM|Gloss}}
{{zh-l|TRAD_FORM|SIMP_FORM|Transliteration|Gloss}}
{{zh-l|FORM1/FORM2/FORM3|Transliteration|Gloss}}
{{zh-l|FORM1/FORM2/FORM3|Gloss}}
{{zh-l|FORM|Transliteration|Gloss}}
{{zh-l|FORM|Gloss}}
{{zh-l|FORM|gloss=Gloss|tr=Transliteration}}
{{zh-l|FORM|gloss=Gloss|lit=Literal meaning|tr=Transliteration}}
注意事项
编辑- This template automatically guesses whether
|2=
is a gloss or transliteration.|tr=
and|t=
/|gloss=
are available for when it guesses wrong. - This template automatically retrieves the first Mandarin pronunciation from a page if a transliteration is not manually given. (Transliteration can be hidden/disabled by making the manual transliteration "
-
".) - Simplified forms and pinyin can be suppressed using an asterisk
*
before the word.
模板数据
编辑Links a Chinese-language term
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Word form(s) | 1 | The word or words to link; separated by slash if multiple
| 单行文本 | 必需 |
Gloss or transliteration | 2 | The template will try to guess if this is a gloss or transliteration
| 单行文本 | 可选 |
Gloss | t | Brief English translation/gloss of the word
| 单行文本 | 可选 |
Transliteration | tr | Pinyin, POJ, Jyutping, or other transliterations as applicable
| 单行文本 | 可选 |
Literal translation | lit | A literal translation of the phrase into English
| 单行文本 | 可选 |