Template:efn Chinese name/doc
This is a documentation subpage for Template:Efn Chinese name. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template may be put near the top of a biographical article, after the first bolded mention of the subject's name, to create a note to explain to readers unfamiliar with Chinese names when the family name is not the last name. If desired, the person's generation name can also be stated. This template is not for people with Chinese surnames that are already listed last e.g. Jeremy Lin.
If no parameters are filled, the first word of the page title will be taken as the family name.
This template can only be used on articles that include {{notelist}}
or, if |reftype=
is used, another footnote marker.
Syntax
- family name
{{efn Chinese name|family name}}
- generation name (optional)
{{efn Chinese name|family name|generation name}}
- reftype (optional)
{{efn Chinese name|family name|reftype=template}}
{{efn Chinese name|family name|generation name|reftype=template}}
Examples
Wikitext | Result |
---|---|
'''Lee Wai Sze'''{{efn Chinese name|Lee}} {{notelist}} |
Lee Wai Sze[a]
|
'''Han Su-Yin'''{{efn Chinese name|[[Han (Chinese surname)|Han]]|Su|reftype=efn-lr}} ({{zh|s=韩素音|t=韓素音|p=Hán Sùyīn}}) {{notelist-lr}} |
Han Su-Yin[i] (simplified Chinese: 韩素音; traditional Chinese: 韓素音; pinyin: Hán Sùyīn)
|
'''Li Yaowen'''{{efn Chinese name|[[Li (surname 李)|Li]] ({{zh|c=李|p=Lǐ}})|Yao ({{zh|c=耀|p=Yào}})|reftype=NoteTag}} ({{zh|c=李耀文|p=Lĭ Yàowén}}) {{NoteFoot}} |
Li Yaowen[note 1] (Chinese: 李耀文; pinyin: Lĭ Yàowén)
|
TemplateData
TemplateData for Efn Chinese name
This template may be put near the top of a biographical article, after the first bolded mention of the subject's name, to create a note to explain to readers unfamiliar with Chinese names when the family name is not the last name. If desired, the person's generation name can also be stated.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Family name | 1 | The family name of the person.
| Line | required |
Generation name | 2 | The generation name of the person.
| Line | optional |
Reference group type | reftype | Name of footnote template to use, such as efn, efn-lr, or NoteTag.
| Line | optional |
Text only? | textonly | If set to yes, outputs only the text, rather than a complete footnote. Can be used to embed within an existing footnote that includes pronunciation or other elements. | Boolean | optional |
Template use by reference group type
Group type | Footnote template | List template | Sample labels |
---|---|---|---|
lower-alpha | {{efn}} {{efn-la}} |
{{notelist}} {{notelist-la}} |
a b c d e f g h i j |
upper-alpha | {{efn-ua}} |
{{notelist-ua}} |
A B C D E F G H I J |
lower-roman | {{efn-lr}} |
{{notelist-lr}} |
i ii iii iv v vi vii viii ix x |
upper-roman | {{efn-ur}} |
{{notelist-ur}} |
I II III IV V VI VII VIII IX X |
lower-greek[a] | {{efn-lg}} |
{{notelist-lg}} |
α β γ δ ε ζ η θ ι κ |
Note | {{NoteTag}} |
{{NoteFoot}} |
note 1 note 2 note 3 |
- ^ Not supported by Internet Explorer 7 and below
See also
- {{Infobox Chinese}}
- {{Family name hatnote}}, which is used as a hatnote
- {{efn Spanish name}}, a similar template for Spanish surnames