Sablon:zh-l/doc
Ez a lap a Sablon:zh-l dokumentációja. Ez a lap tartalmazza a sablon használati útmutatóját és kategóriáit. |
This template and {{zh-m}}
use the link
function from Module:zh. Both templates take the same parameters.
Usage[szerkesztés]
{{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}}
Notes[szerkesztés]
- This template automatically guesses whether
2=
is a gloss or transliteration.tr=
andgloss=
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.
TemplateData[szerkesztés]
Links a Chinese-language term
Paraméter | Leírás | Típus | Állapot | |
---|---|---|---|---|
Word form(s) | 1 | The word or words to link; separated by slash if multiple
| Sor | kötelező |
Gloss or transliteration | 2 | The template will try to guess if this is a gloss or transliteration
| Sor | opcionális |
Gloss | gloss | Brief English translation/gloss of the word
| Sor | opcionális |
Transliteration | tr | Pinyin, POJ, Jyutping, or other transliterations as applicable
| Sor | opcionális |
Literal translation | lit | A literal translation of the phrase into English
| Sor | opcionális |