Template:efn Spanish name
Contents
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]
|
'''Juan Pablo Montoya Roldán'''{{efn Spanish name|Montoya|Roldán}}
{{notelist}}
|
Juan Pablo Montoya Roldán[lower-alpha 1]
|
'''Juan Pablo Montoya'''{{efn Spanish name|first=Montoya|reftype=efn-lr}}
{{notelist-lr}}
|
Juan Pablo Montoya[lower-roman 1] |
'''Juan Pablo Montoya Roldán'''{{efn Spanish name|first=Montoya|second=Roldán|reftype=NoteTag}}
{{NoteFoot}}
|
Juan Pablo Montoya Roldán[note 1]
|
TemplateData
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| First family name | 1 first | The person's first or paternal family name (surname)
| Line | required |
| Second family name | 2 second | The person's second or maternal family name (surname)
| Line | suggested |
| Reference group type | reftype | Name of footnote template to use, such as efn, efn-lr, or NoteTag.
| Line | optional |
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 |
- ↑ Not supported by Internet Explorer 7 and below
See also
- {{Family name hatnote}}, which may be used as a hatnote
- {{efn Chinese name}}, a similar template for Chinese surnames
| The above documentation is transcluded from Template:Efn Spanish name/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
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