Endrika:zh-l/documentation
This template and {{zh-m}}
use the link
function from Module:zh. Both templates take the same parameters.
Usage[Ovay]
{{zh-l|TRAD_FORM/SIMP_FORM|Transliteration|Gloss}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|TRAD_FORM/SIMP_FORM|Gloss}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|TRAD_FORM|SIMP_FORM|Transliteration|Gloss}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|FORM1/FORM2/FORM3|Transliteration|Gloss}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|FORM1/FORM2/FORM3|Gloss}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|FORM|Transliteration|Gloss}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|FORM|Gloss}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|FORM|gloss=Gloss|tr=Transliteration}}
- Erreur de script : la fonction « link » n’existe pas.
{{zh-l|FORM|gloss=Gloss|lit=Literal meaning|tr=Transliteration}}
- Erreur de script : la fonction « link » n’existe pas.
Notes[Ovay]
- 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[Ovay]
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for zh-l
Links a Chinese-language term
Paramètre | Description | Type | État | |
---|---|---|---|---|
Word form(s) | 1 | The word or words to link; separated by slash if multiple
| Ligne de texte | obligatoire |
Gloss or transliteration | 2 | The template will try to guess if this is a gloss or transliteration
| Ligne de texte | facultatif |
Gloss | gloss | Brief English translation/gloss of the word
| Ligne de texte | facultatif |
Transliteration | tr | Pinyin, POJ, Jyutping, or other transliterations as applicable
| Ligne de texte | facultatif |
Literal transliteration | lit | A literal translation of the phrase into English
| Ligne de texte | facultatif |