Template:efn Chinese name

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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[lower-alpha 1]
  1. In this Chinese name, the family name is Lee.
'''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[lower-roman 1] (Template:Zh)

Template:Notelist-lr

'''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] (Template:Zh)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
Family name1

The family name of the person.

Default
First word of {{PAGENAME}}.
Example
Li
Lineoptional
Generation name2

The generation name of the person.

Example
Yao
Lineoptional
Reference group typereftype

Name of footnote template to use, such as efn, efn-lr, or NoteTag.

Default
efn
Example
efn-lr
Lineoptional

Template use by reference group type

<section begin=pregrouptable />

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[lower-alpha 1] {{efn-lg}} {{notelist-lg}} α β γ δ ε ζ η θ ι κ
Note {{NoteTag}} {{NoteFoot}} note 1 note 2 note 3
  1. Not supported by Internet Explorer 7 and below
<section end=pregrouptable />

See also


Cite error: <ref> tags exist for a group named "lower-roman", but no corresponding <references group="lower-roman"/> tag was found, or a closing </ref> is missing