Template:efn Spanish name

From blackwiki
Revision as of 21:21, 4 March 2020 by imported>Zyxw (update text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Spanish names which part of a name is the family name. If there are two family names, these can both be stated.

This template can only be used on articles that include {{notelist}} or, if |reftype= is used, another footnote template.

Syntax

One surname
{{efn Spanish name|paternal family name}}
{{efn Spanish name|first=paternal family name}}
Two surnames
{{efn Spanish name|paternal family name|maternal family name}}
{{efn Spanish name|first=paternal family name|second=maternal family name}}
One surname, non-default reftype
{{efn Spanish name|paternal family name|reftype=template}}
{{efn Spanish name|first=paternal family name|reftype=template}}
Two surnames, non-default reftype
{{efn Spanish name|paternal family name|maternal family name|reftype=template}}
{{efn Spanish name|first=paternal family name|second=maternal family name|reftype=template}}

Examples

Wikitext Result
'''Juan Pablo Montoya'''{{efn Spanish name|Montoya}}

{{notelist}}
Juan Pablo Montoya[lower-alpha 1]
  1. This name uses Spanish naming customs: the first or paternal family name is Montoya.
'''Juan Pablo Montoya Roldán'''{{efn Spanish name|Montoya|Roldán}}

{{notelist}}
Juan Pablo Montoya Roldán[lower-alpha 1]
  1. This name uses Spanish naming customs: the first or paternal family name is Montoya and the second or maternal family name is Roldán.
'''Juan Pablo Montoya'''{{efn Spanish name|first=Montoya|reftype=efn-lr}}

{{notelist-lr}}
Juan Pablo Montoya[lower-roman 1]

Template:Notelist-lr

'''Juan Pablo Montoya Roldán'''{{efn Spanish name|first=Montoya|second=Roldán|reftype=NoteTag}}

{{NoteFoot}}
Juan Pablo Montoya Roldán[note 1]
  1. This name uses Spanish naming customs: the first or paternal family name is Montoya and the second or maternal family name is Roldán.

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 Spanish 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 Spanish names which part of a name is the family name. If there are two family names, these can both be stated.

Template parameters

ParameterDescriptionTypeStatus
First family name1 first

The person's first or paternal family name (surname)

Example
Montoya
Linerequired
Second family name2 second

The person's second or maternal family name (surname)

Example
Roldán
Linesuggested
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