Template:efn Chinese name/doc

From MOASSpedia
Jump to navigation Jump to search


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]
  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[i] (simplified Chinese: 韩素音; traditional Chinese: 韓素音; pinyin: Hán Sùyīn)
  1. ^ In this Chinese name, the family name is Han and Su is a generation name.
'''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)
  1. ^ In this Chinese name, the family name is Li (Chinese: ; pinyin: ) and Yao (Chinese: 耀; pinyin: Yào) is a generation name.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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.

Template parameters

ParameterDescriptionTypeStatus
Family name1

The family name of the person.

Default
First word of {{PAGENAME}}.
Example
Li
Linerequired
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.

Suggested values
efn efn-lr efn-ua efn-ur efn-lg NoteTag
Default
efn
Lineoptional
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.

Booleanoptional

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
  1. ^ Not supported by Internet Explorer 7 and below

See also